Chapter 6: Commands
7156 Owner’s Guide
September 1997
86
If any of the status items listed above are selected, ASB is enabled and the printer
automatically transmits 4 status bytes whenever the selected status changes. If no status is
selected, ASB is disabled.
All four status bytes are transmitted without checking DSR.
If the error status is enabled, a change in any one of the following conditions will trigger
the ASB:
•
Receipt cover or cassette cover opened
•
Knife error
•
Carriage motor jam
•
Out-of-range printhead temperature
•
Out-of-range voltage
•
Receipt paper exhaust if trying to print on the receipt
When Auto Status Back (ASB) is enabled using this command, the status transmitted by
other commands and the ASB status be differentiated according to the information found
in “Recognizing Data from the Printer,” (in the “Real Time Commands” section later in this
chapter).
The status bytes to be transmitted are described in the following four tables.
First Byte (Printer Information)
Bit
Off/O
n
Hex
Decimal
Status for ASB
0
Off
00
0
Not used. Fixed to off.
1
Off
00
0
Not used. Fixed to off.
2
Off
On
00
04
0
4
One or both cash drawers open.
Both cash drawers closed.
3
Off
On
00
08
0
8
Not Busy at the RS232C interface.
Printer is Busy at the RS232C interface.
4
On
10
16
Not used. Fixed to on.
5
Off
On
00
20
0
32
Receipt and cassette cover both closed.
Receipt or cassette cover open.
6
Off
On
00
40
0
64
Paper feed button is not pressed.
Paper feed button is pressed.
7
Off
00
0
Not used. Fixed to off.
Second Byte (Error information)
Bit
Off/O
n
Hex
Decim
al
Status for ASB
0
-
-
-
Undefined
1
-
-
-
Undefined
2
Off
On
00
04
0
4
No mechanical error
Mechanical error occurred.
3
Off
On
00
08
0
8
No knife error.
Knife error occurred.
Содержание 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...