7197 Owner’s Guide Chapter 6: Commands
November 2002
143
Auto Status Back Commands
Select or Cancel Automatic Status Back
ASCII: GS a n
Hexadecimal: 1D 61 n
Decimal:
29 97 n
Value of n:
Status of 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.
If any of the status items listed 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 the following conditions will trigger the ASB:
1. Cash Drawer
2. Receipt Cover
3. Knife Error
4. Out-of-Range Print head Temperature
5. Out-of-Range Voltage
6. Paper Exhaust Status
The bits of n are defined in the table.
Bit Off/On Hex Decimal Status for ASB
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 - - - Undefined
6 - - - Undefined
7 - - - Undefined