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

Thermal receipt printer
Hide thumbs Also See for A798:
Table of Contents

Advertisement

Revision D 10/13

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
Exceptions
Unlike the A793, that had a dedicated connector and resultant dedicated status reporting for each cash drawer, the A798
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.
This 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.
A798-PG00001D
Chapter 4: Programming Commands
75

Advertisement

Table of Contents
loading

Table of Contents