NCR 5021 Printer Emulation Commands
8–4 3255 4073–002
Reset
This command does the following:
• Stops printing
• Flushes data buffers
• Initializes parameters
• Resets I/O ports
• Takes the printer offline
It does not reload the character set from NVRAM, affect the interline spacing,
clear the tallies, or flush the communication buffers. The command is executed
immediately, regardless of the state of the printer.
Hexadecimal Decimal ASCII
1B 5B 30 27 91 48 ESC [ 0
The printer sends the following in reply to this command: 1BH, 5BH, 35H, 30H,
32H, 31H, 2CH, 31H, 30H, 30H, 32H, 2CH, 30H, 31H, 30H, 30H, 2CH, vvH*, vvH*,
70H
*The value of vvH may be 30H-39H.
Open
Puts the printer online. The printer accepts all commands except Set Interline
Spacing (1B 5B 72) and Write Device Control Memory (1B 5B 7F) when it is
online. The printer accepts printable data only when it is online.
If the open command is received while the printer is already online, the open
command is ignored.
The printer is offline when it powers up.
Hexadecimal Decimal ASCII
1B 5B 32 27 91 50 ESC [ 2