P 190
31
Sets the printer in normal mode
The command “ESC” N selects normal mode printing. In normal mode printing, the ticket comes out of
the printer with the writing upside down and running from right to left. When the printer is switched on, the
default value is selected by the flag of a location called the “option register”; this flag can be manipulated by
programming, using the the two keys on the front panel of the printer with which the default value can be
changed and it can be decided whether the printer is to be in reverse or normal mode when it is switched
on.
ASCII: ESC @ Hex: $1B $40
Resets the printer
The command “ESC” @ resets the printer software. This command is identical to the hardware reset
command and can be used for re-initializing the printer’s parameters. Obviously, after this command
the receiving buffer is zero-set and all the data transmitted to the printer is lost. Once the command has
been transmitted, approximately 1.5 seconds pass before the printer becomes active again. The reset
command can be useful when the system is switched on in order to avoid false characters, which would
corrupt the printer’s receiving buffer, from being sent during the master device’s initializing phases.
ASCII: ESC D Hex: $1B $44
Enters the date in the line buffer
The command “ESC” D is used for entering the date of the Real Time Clock fitted inside the printer in
the line buffer. The format of the date is dd-mm-yy. This command can be used for entering the date in
the context of a sentence without zero-setting the line buffer. If, for example, you wish to write:
DATA : 11-09-93 TEST OK
you will send: DATA : $1B$44 TEST OK $0D
If you only wish to print the date, it is enough to transmit $1B$44$0D. The date is transmitted in 8
characters and, if there is not sufficient space left in the line buffer, it is not printed.
ASCII: ESC T Hex: $1B $54
Enters the time in the line buffer
The command “ESC” T is used for entering the time of the Real Time Clock fitted inside the printer in the
line buffer. The format of the time is hh-mm. This command can be used for entering the time in the
context of a sentence without zero-setting the line buffer. If, for example, you wish to write:
TIME : 16.45 TEST OK
you will send: TIME : $1B$54 TEST OK $0D
If you only wish to print the time, it is enough to transmit $1B$54$0D. The time is transmitted in 5
characters and, if the seconds option is enabled in 8 characters; if there is not sufficient space left in the
line buffer, it is not printed.
ASCII: ESC U Hex: $1B $55
Enters the date (mm-dd-yy) in the buffer
The command “ESC” U is used for entering the date, American.style mm-dd-yy, of the Real Time Clock
PRINTER FUNCTIONS