
7156 Owner’s Guide
Chapter 6: Commands
September 1997
85
This command is a batch mode command; that is, the response is transmitted after all prior
data in the receive buffer has been processed. There may be a time lag between the printer
receiving this command and transmitting the response, depending on the receive buffer
status.
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 Printer ID) 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).
Enable/Disable Automatic Status Back (ASB)
Enables or disables automatic status back (ASB) and specifies the status items.
This command is a batch mode command; that is, it is processed after all prior data in the
receive buffer has been processed. There may be a time lag between the printer receiving
this command and changing the ASB response, depending on the receive buffer status.
Hexadecim
al
Decimal
ASCII
1D 61 n
29 97 n
GS a n
If n = 0, ASB is disabled. The default is n = 0 (ASB disabled). The bits of n are defined in the
table.
Bit
Off/On
Hex
Decim
al
Function
0
Off
On
00
01
0
1
Cash drawer status disabled.
Cash drawer status enabled.
1
Off
On
00
02
0
2
RS-232C Busy status disabled.
RS-232C Busy status enabled.
2
Off
On
00
04
0
4
Error status disabled.
Error status enabled.
3
Off
On
00
08
0
8
Receipt paper roll status disabled.
Receipt paper roll status enabled.
4
-
-
-
Undefined
5
Off
On
00
20
0
32
Slip detector, slip paper status disabled.
Slip detector, slip paper status enabled.
6
-
-
-
Undefined
7
-
-
-
Undefined
Summary of Contents for 7156
Page 6: ...Contents 7156 Owner s Guide September 1997 iv...
Page 38: ...Chapter 3 Solving Problems 7156 Owner s Guide September 1997 32...
Page 118: ...Chapter 6 Commands 7156 Owner s Guide September 1997 112...
Page 122: ...Appendix A Specifications 7156 Owner s Guide September 1997 116...
Page 129: ...7156 Owner s Guide Appendix B Print Characteristics September 1997 123...
Page 130: ...Appendix B Print Characteristics 7156 Owner s Guide September 1997 124...