7167 Owner’s Manual Chapter 6: Commands
November 2003
182
Real Time Printer Status Transmission
ASCII:
GS ENQ
Hexadecimal:
1D 05
Decimal:
29 5
Transmits one byte status of the printer in real time.
Value of Byte:
Bit Status Hex Decimal Function
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
Both receipt and cassette doors closed
Receipt or cassette door open
3 Off
On
00
08
0
8
Not busy at the RS-232C interface
Printer is busy at the RS-232C interface
4 Off
On
00
1
0
16
One or both cash drawers open
Both cash drawers closed
5 Off
On
00
20
0
32
Paper present at both slip sensors
Paper not present at one or both slip
sensors
6 Off
On
00
40
0
64
No error condition
Error condition exists in the printer
7 On 00 0 Fixed to On
Example:
MSComm1.Output = Chr$(&H1D) & Chr$(&H05)