7156 Owner’s Guide
Chapter 6: Commands
September 1997
89
Notes
When DTR/DSR RS232C communications handshaking control is selected, the printer
transmits the one byte response only when the host signal DSR indicates it is ready to
receive data.
When XON/XOFF RS232C communications handshaking control is selected, the printer
transmits the one byte response regardless of the host signal DSR.
When Auto Status Back (ASB) is enabled using the Enable/Disable Automatic Status Back
command (1D 61), the status transmitted by this command (Transmit Status) and the ASB
status must 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 three tables.
Printer Status (
n = 1 or n = 49)
Bit
Off/O
n
Hex
Decimal
Status for Transmit Status
0
Off
On
00
01
0
1
Receipt paper adequate.
Receipt paper low.
1
Off
On
00
02
0
2
Receipt paper adequate.
Receipt paper low.
2
Off
On
00
04
0
4
Receipt paper present.
Receipt paper exhausted.
3
Off
On
00
088
0
8
Receipt paper present.
Receipt paper exhausted.
4
Off
00
0
Not used. Fixed to off.
5
Off
On
00
20
0
32
Slip leading edge sensor: paper present.
Slip leading edge sensor: no paper.
6
Off
On
00
40
0
64
Slip trailing edge sensor: paper present.
Slip trailing edge sensor: no paper.
7
Off
00
0
Not used. Fixed to off.
Cash Drawer Status (
n = 2 or n = 50)
Bit
Off/O
n
Hex
Decimal
Status for Transmit Status
0
Off
On
00
01
0
1
One or both cash drawers open.
Both cash drawers closed.
1
Off
On
00
02
0
2
One or both cash drawers open.
Both cash drawers closed.
2
-
-
-
Undefined
3
-
-
-
Undefined
4
Off
00
0
Not used. Fixed to off.
5
-
-
-
Undefined
6
-
-
-
Undefined
7
Off
00
0
Not used. Fixed to off.
Slip Paper Status (
n = 3 or n = 51)
Value of Byte
Returned
Slip Status
Содержание 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...