Real Time Printer Status Transmission; Real Time Commands Disabled - CognitiveTPG A799II Programming Manual

Two-color thermal receipt printer
Hide thumbs Also See for A799II:
Table of Contents

Advertisement

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
00
0
On
01
1
1
Off
00
0
On
02
2
2
Off
00
0
On
04
4
3
Off
00
0
On
08
8
4
Off
00
0
On
10
16
5
Off
00
0
6
Off
00
0
On
40
64
7
On
80
128
* Errors include cover open, paper out, black mark error, cutter error, thermistor error, high or low voltage error, where at
hermistor error is unrecoverable, and a high or low voltage error automatically recover
Exceptions
Unlike the A793, that had a dedicated connector and resultant dedicated status reporting for each cash drawer, the A799II
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.

Real time commands disabled

ASCII
US z n
Hexadecimal
1F 7A n
Decimal
31 122 n
Value of n:
0 = enable
1 = disable
This command is used to disable real time commands. They are disabled prior to sending graphic or other data to the
printer that may contain embedded real time commands.
The command is a batch command and processed in the order received.
Paper adequate.
Paper low (if paper low sensor enabled).
Paper adequate.
Paper low (if paper low sensor enabled).
Cover closed.
Cover open.
Not busy at the RS-232C interface.
Printer is busy at the RS-232C interface.
One or both cash drawers open.
Both cash drawers closed.
Fixed to off.
No error condition.
Error condition exists in the printer.*
Fixed to on.
A799-2PG0001B 4/2016
Chapter 4: Programming Commands
99

Advertisement

Table of Contents
loading

Table of Contents