CONFIDENTIAL
RP-U420 Miscellaneous commands ESC @
Ver. 1.0
p. 44
ESC @
E
XECUTING
COMMAND
S
ETTING
COMMAND
[Name]
Initialize printer
[Format]
ASCII ESC @
Hex 1B 40
Decimal 27 64
[Range]
None
[Default]
None
[Description]
Clears the data in the print buffer and resets the printer mode to the mode that was in effect when the power
was turned on.
[Notes] ■ The data in the receive buffer is not cleared.
■ After this command is executed; the printer goes to the following state:
• Both receipt and journal are selected for the print sheet
• The parallel printing mode is canceled if this command is executed
• The print starting position is set to the beginning of a line
Program Example Print Sample
PRINT #1, CHR$(&H1B);"!";CHR$(32);
AAAAA
BBBBB ←
All settings are canceled after ESC @ is executed
PRINT #1, "AAAAA"; CHR$(&HA);
PRINT #1, CHR$(&H1B);"@"; ← Initialize printer
PRINT #1, "BBBBB"; CHR$(&HA);
Miscellaneous commands