Transmit Status - CognitiveTPG A776 Programming Manual

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

Advertisement

Value of n
ASCII
Hex
Dec
»
AF
175
B2
178
|
B3
179
B4
180
B5
181
B6
182
B7
183

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
3, 51 = slip paper status
4, 52 = Flash memory user sector status
Range of n:
1–4
49–52
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 RS-232C communications handshaking control is selected, the printer transmits the one byte
response regardless of the host signal DSR.
When unsolicited status mode (USM) is enabled using the enable/disable unsolicited status mode command (1D 61),
the status transmitted by this command (transmit status) and the USM status must be differentiated according to
the information found in recognizing data from the printer. This is found in the real time commands section of this
document.
The status bytes to be transmitted are described in the following four tables.
Exceptions
When n is out of the specified range, the command is ignored.
Unlike the A756, that had a dedicated connector and resultant dedicated status reporting for each cash drawer, 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.
Continued . . .
A776-PG00001 C 12/09
Remote diagnostic item
Cover openings tally
Max temperature tally
Max temperature tally
Slip lines tally, 8 digit ASCII
numeric, max 99,999,999
Slip line tally
Slip lines tally
Slip lines tally
Chapter 5: Programming commands
Function
Return cover openings tally, returns 10 bytes
Reset max temperature reached value
Return max temperature reached since it was reset,
returns 10 bytes
Write to NVRAM
Write to NVRAM, and print on receipt to verify
Clear slip lines tally to 0
Return slip line tally, returns 10 bytes
A776 (B780) Programming Guide
87

Advertisement

Table of Contents
loading

This manual is also suitable for:

B780

Table of Contents