Commands | 7193 Owner’s Guide |
Printer Status Commands
For RS-232C printers, these commands enable the printer to communicate with the host system following the selected handshaking protocol, either DTR/DSR or XON/XOFF. They are stored in the printer's data buffer as they are received, and are handled by the firmware in the order in which they were received.
When a fault occurs, the printer will go busy at the RS-232C interface and not respond to either of the Printer Status commands. If the fault causing the busy condition can be cleared, such as by loading paper, or letting the thermal printhead cool down, the printer will resume processing the data in its receive buffer.
Printers manufactured after mid 1996 include Real Time commands which are handled when the printer is busy at the RS-232C interface. See the following section, “Real Time Commands,” for details about these commands.
Transmit Cash Drawer Status
Transmits current status of the cash drawers. One byte is sent to the host system. This command is available only on RS-232 printers.
In DTR/DSR protocol the printer waits for DSR = SPACE. If a drawer is not connected, the status will indicate closed.
Hex | Decimal | ASCII | Bit | 1 Signifies | 0 Signifies |
1B 75 0 | 27 117 0 | ESC u 0 | 0 | Drawer 1 Closed | Drawer 1 Open |
| | | 1 | Drawer 2 Closed | Drawer 2 Open |