P 190
29
Sets the time and date in serial
The command $13 sets the time and date of the clock installed inside the P 190. Ther are two ways of
setting it: the first uses the 24-hour clock and the second the 12 hour a.m., p.m. clock. In the first case the
10 ASCII characters corresponding to the time and date have to be transmitted, followed by the command
$13. If, for example, we wish to enter 12.45 of 19.01.93, we have to send the following sequence:
1245190193$13
i.e. $31 $32 $34 $35 $31 $39 $30 $31 $39 $33 $13
In the second case the 10 ASCII characters corresponding to the time and date preceded by “A” or “P”,
to indicate ante- or post-meridian, are sent to the printer followed by the command $13. If, for example,
we wish to enter A12.45 of 19.01.93, we have to send the following sequence:
A12451901 93$13
i.e. $41 $31 $32 $34 $35 $31 $39 $30 $31 $39 $33 $13
It is advisable to send the command $00 first (normal printing mode) in order to erase the print buffer so
as to ensure that there were no old characters still in it.
ASCII: - Hex: $14
Transmits the time and date in serial
The command $14 transmits the contents of the Real Time Clock to the printer’s serial port in the format
of 11 ASCII characters:
hour / minutes / day / month / year + CR $0D
If the seconds option is enabled, the seconds will be transmitted after the minutes. This command can
only be used if the serial port is being used; if the parallel port is being used, the printer will not be able
to print anything.
ASCII: - Hex: $1E $1F
Prints the 1st (2nd) programmable character (software release 4.3)
If the hexadecimal character $1E ($1F) is transmitted to the P 190 printer, it will print the corresponding
PRINTER FUNCTIONS