Recognizing Data From The Printer - CognitiveTPG A798 Programming Manual

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

Advertisement

82
Chapter 4: Programming Commands

Recognizing data from the printer

An application sending various real time and non-real time commands to which the printer responds can determine which
command a response belongs to by the table below.
Responses to transmit peripheral device status (1B 75) and transmit paper sensor status (1B 76) are non-real time
responses and will arrive in the order in which they were solicited.
Batch mode response
ASCII
HEX
ECS u 0
1B 75 0
ESC v
1B 76
GS I n
1D 49 n
GS r n
1D 72 n
Real time response
ASCII
HEX
GS EOT n
1D 04 n
DLE EOT n
10 04 n
GS ENQ
1D 05
XON
XOFF
Unsolicited status mode (USM)
USM Byte 1
USM Byte 2-4
Response recognized by:
0
0
0
0
0
0
x
0
x
x
0
0
x
x
0
x
x
0
x
x
x
0
x
x
0
x
x
x
Response recognized by:
0
x
x
1
x
x
1
0
x
x
1
x
x
1
1
x
x
x
x
x
x
0
0
0
1
0
0
0
0
0
0
1
0
0
1
Response recognized by:
0
x
x
1
x
x
0
0
x
x
0
x
x
x
A798-PG00001C
x
Binary
x
Binary
x
Binary
x
Binary
0
Binary
0
Binary
x
Binary
1
Binary
1
Binary
0
Binary
x
Binary
Revision C 12/09

Advertisement

Table of Contents
loading

Table of Contents