7156 Owner’s Guide
Chapter 6: Commands
September 1997
83
3
Quadruple
76
76
*Dot density measured in dots per inch.
Printer Status Commands
These commands enable the printer to communicate with the host computer 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 receipt or slip paper, or letting the thermal printhead cool
down, the printer will resume processing the data in its receive buffer.
If a slip jam caused the busy condition and the application is not using Real Time
commands for status and recovery, clear the jam and press the online button to cycle the
printer. See the following section, “Real Time Commands” for details about the Real Time
commands.
Transmit Cash Drawer Status
Transmits the current status of the cash drawers. One byte is sent to the host computer. In
DTR/DSR protocol, the printer waits for DSR = SPACE. If a drawer is not connected, the
status will indicate it is 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
Transmit Printer Status
Sends status data to the host computer.
Hex
Decima
l
ASCII
1B 76
27 118
ESC v
The printer sends one byte to the host computer. See the table below. In DTR/DSR
protocol, the printer waits for DSR = SPACE.
Содержание 7156
Страница 1: ...BD20 1436 A Issue B September 1997 NCR 7156 Thermal Receipt and Impact Slip RS232 Owner s Guide...
Страница 6: ...Contents 7156 Owner s Guide September 1997 iv...
Страница 31: ...7156 Owner s Guide Chapter 2 Setting Up and Using the Printer September 1997 25 Sample Print Test...
Страница 38: ...Chapter 3 Solving Problems 7156 Owner s Guide September 1997 32...
Страница 118: ...Chapter 6 Commands 7156 Owner s Guide September 1997 112...
Страница 122: ...Appendix A Specifications 7156 Owner s Guide September 1997 116...
Страница 129: ...7156 Owner s Guide Appendix B Print Characteristics September 1997 123...
Страница 130: ...Appendix B Print Characteristics 7156 Owner s Guide September 1997 124...
Страница 136: ...Index 7156 Owner s Guide September 1997 6...