Chapter 6: Commands 7197 Owner’s Guide
February 2002
144
Default: 0 (ASB disabled)
Example:
• MSComm1.Output = Chr$(&H1D) & Chr$(&H61) & Chr$(n)
Exceptions
If n = 0, ASB is disabled.
Related Information
When Auto Status Back (ASB) is enabled using this command, the status transmitted by
other commands and the ASB status are differentiated according to the information found
in Recognizing Data from the printer, (in the Real Time Commands section in this
chapter). The status bytes to be transmitted are described in the following four tables.
Byte 1 = printer information
Byte 2 = error information
Byte 3 = paper sensor information
Byte 4 = paper sensor information
First Byte (Printer Information)
Bit Off/On 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 cover closed.
Receipt 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.