NCR 5021 Printer Emulation Commands
3255 4073–002 8–5
Close
Takes the printer offline. When the printer is offline, it accepts only the
following commands:
• Set Interline Spacing (1B 5B 72)
• Reset (1B 5B 30)
• Read Status (1B 5B 31)
• Open (1B 5B 32)
• Read Tallies (1B 5B 34)
• Write Device Control Memory (1B 5B 7F)
• Reset Character RAM (1B 5B 70)
The printer does not accept printable data when it is offline.
The Close command is ignored if it is received when:
• The printer is processing data.
• Data remains in the print buffer.
• The forms compensation assembly is open.
• A paper jam has occurred.
The Read Status (1B 5B 31) command should be sent by the host after the Close
command to verify that the printer is offline. Any data received after the Close
command is processed after the printer is offline.
If the Close command is received while the printer is already offline, the Close
command is ignored.
The printer is offline when it powers up.
Hexadecimal Decimal ASCII
1B 5B 33 27 91 51 ESC [ 3