Instruction manual

A758 Owner’s Guide Chapter 7: Programming Guide
September 1999 170
Exceptions:
The command is ignored if
n
is out of range
An application using the DLE sequence must send ENQ within 100 milliseconds
of DLE or the printer will misinterpret the DLE and execute a Clear Printer
command. Avoid this possibility by using the 1D 03 n sequence that is handled
exactly the same as 10 05 n.
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
0Off
On
00
01
0
1
Receipt paper adequate
Receipt paper low
1Off
On
00
02
0
2
Receipt paper adequate
Receipt paper low
2Off
On
00
04
0
4
Both receipt and cassette doors closed
Receipt or cassette door open
3Off
On
00
08
0
8
Not busy at the RS-232C interface
Printer is busy at the RS-232C interface
4Off
On
00
1
0
16
One or both cash drawers open
Both cash drawers closed
5Off
On
00
20
0
32
Paper present at both slip sensors
Paper not present at one or both slip sensors
6Off
On
00
40
0
64
No error condition
Error condition exists in the printer
7 On 80 128 Fixed to On