Busy Line And Fault Conditions; Real-Time Status Transmission - CognitiveTPG A776 ColorPOS Programming Manual

Two-color thermal/impact hybrid printer
Hide thumbs Also See for A776 ColorPOS:
Table of Contents

Advertisement

84
Chapter 5: Programming commands

Real-time status transmission

GS sequence
ASCII
GS EOT n
Hexadecimal
1D 04 n
Decimal
29 4 n
Value of n:
GS/DLE sequence
1 = Transmit printer status
2 = Transmit RS-232C busy status
3 = Transmit error status
4 = Transmit receipt paper status
5 = Slip paper status
6 = Validation paper status
Transmits the selected one byte printer status specified by n command within a few msec according to the following
parameters. This command includes two sequences: GS (1D) and DLE (0×10).
Exceptions
The command is ignored if n is out of range.
An application using DLE (0×10) sequence must send EOT within 100 milliseconds of DLE or the printer will
misinterpret the DLE and execute a clear printer command. Avoid this possibility by using the ID 04 n sequence, which
is handled exactly the same as 10 04 n.
The A776 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.
Related information
1 = Transmit printer status
Bit Status Hex Decimal Function
0
Off
00
0
1
On
02
2
2
Off
00
0
On
04
4
3
Off
00
0
On
08
8
interface.
4
On
10
16
5
6
7
Off
00
0
Continued...
A776 (B780) Programming Guide
DLE sequence
DLE EOT n
10 04 n
16 4 n
Fixed to Off.
Fixed to On.
One or both cash drawers open.
Both cash drawers closed.
Not busy at the RS-232C interface.
Printer is busy at the RS-232C
Fixed to on.
Undefined.
Undefined.
Fixed to off.
A776-PG00001 D 07/13

Advertisement

Table of Contents
loading

Table of Contents