Chapter 6: Programming Information A794 Owner’s Guide
March 199994
Select or Cancel 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.
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 the following conditions will trigger the ASB:
♦ Receipt Cover
♦ Knife Error
♦ Out-of-Range Printhead Temperature
♦ Out-of-Range Voltage
♦ Paper Exhaust
ASCII GS a n
Hexadecimal 1D 61 n
Decimal 29 97 n
Value of n Status of ASB
Byte 1= printer information
Byte 2= error information
Byte 3= paper sensor information
Byte 4= Paper sensor information
The bits of n are defined in the table.
Bit Off/On Hex Decimal Status for ASB
0Off
On
00
01
0
1
Cash drawer status disabled.
Cash drawer status enabled.
1Off
On
00
02
0
2
RS-232C Busy status disabled.
RS-232C Busy status enabled.
2Off
On
00
04
0
4
Error status disabled.
Error status enabled.
3Off
On
00
08
0
8
Receipt paper roll status disabled.
Receipt paper roll status enabled.
4 - - - Undefined
5 - - - Undefined.
6 - - - Undefined
7 - - - Undefined