C O N F I D E N T I A L
ESC @
EXECUTING COMMAND
SETTING COMMAND
[Name]
[Format]
[Range]
[Default]
[Description]
[Notes]
Initialize printer |
| |
ASCII | ESC | @ |
Hex | 1B | 40 |
Decimal | 27 | 64 |
None
None
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.
■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 #1, CHR$(&H1B);"!";CHR$(32); PRINT #1, "AAAAA"; CHR$(&HA);
PRINT #1, CHR$(&H1B);"@"; ← Initialize printer PRINT #1, "BBBBB"; CHR$(&HA);
Print Sample
AAAAA
BBBBB ← All settings are canceled after ESC @ is executed
Miscellaneous commands ESC @ | Ver. 1.0 p. 44 |