Справочник Пользователя для M-S Cash Drawer A794
Chapter 6: Programming Information
A794 Owner’s Guide
December 1999
116
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
On
00
01
01
0
1
1
Paper adequate.
Paper low (if paper low sensor
enabled).
Paper low (if paper low sensor
enabled).
1
Off
On
On
00
02
02
0
2
2
Paper adequate.
Paper low (if paper low sensor
enabled).
Paper low (if paper low sensor
enabled).
2
Off
On
On
00
04
04
0
4
4
Cover closed.
Cover open.
Cover open.
3
Off
On
On
00
08
08
0
8
8
Not busy at the RS-232C interface.
Printer is busy at the RS-232C interface.
Printer is busy at the RS-232C interface.
4
Off
On
On
00
10
10
0
16
16
One or both cash drawers open.
Both cash drawers closed.
Both cash drawers closed.
5
Off
00
0
Fixed to Off.
6
Off
On
On
00
40
40
0
64
64
No error condition.
Error condition exists in the printer.
Error condition exists in the printer.
7
On
80
128
Fixed to On.
Exceptions
Unlike the A793, that had a dedicated connector and resultant dedicated status
reporting for each cash drawer, the A794 has a single connector that shares data
reporting from either cash drawer. When either cash drawer is open, an open status
is reported by the printer.
reporting for each cash drawer, the A794 has a single connector that shares data
reporting from either cash drawer. When either cash drawer is open, an open status
is reported by the printer.