Transmit Status - CognitiveTPG A799 Programming Manual

A799 two-color thermal receipt printer
Hide thumbs Also See for A799:
Table of Contents

Advertisement

Revision D 12/09

Transmit status

ASCII
GS r n
Hexadecimal
1D 72 n
Decimal
29 114 n
Value of n:
1, 49 = printer status
2, 50 = cash drawer status
4, 52 = Flash memory user sector status
Transmits the status specified by n. This is a batch mode command
which transmits the response after all prior data in the receive buffer
has been processed. There may be a time lag between the printer
receiving this command and transmitting the response, depending on
the receive buffer status.
When DTR/DSR RS-232C communications handshaking control is
selected, the printer transmits the one byte response only when the host
signal DSR indicates it is ready to receive data.
When XON/XOFF RS232C communications handshaking control is
selected, the printer transmits the one byte response regardless of the
host signal DSR.
The status bytes to be transmitted are described in the three tables on the next page.
Exceptions
Unlike the A793, that had a dedicated connector and resultant dedicated status reporting for each cash drawer, the A799
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.
Printer status (n = 1 or n = 49)
Bit Off/On Hex Decimal
0
Off
00
0
On
01
1
1
Off
00
0
On
02
2
2
Off
00
0
On
04
4
3
4
Off
00
0
5
6
7
Off
00
0
Status for transmit status
Paper present.
Paper exhausted.
Cover closed.
Cover open.
Paper present.
Paper exhausted.
Undefined.
Not used. Fixed to off.
Undefined.
Undefined.
Not used. Fixed to off.
A799-PG00001D
Chapter 4: Programming Commands
87

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Colorpos a799

Table of Contents