Recognizing Data From The Printer - NCR 7158 Owner's Manual

Thermal receipt and impact printer
Table of Contents

Advertisement

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
ESC 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
10 04 n
n
GS ENQ
1D 05
XON
XOFF
Auto Status Back (ASB)
ASB Byte 1
ASB Bytes 2-4
Response Recognized By:
0
0
0
0
0
0
0
0
0
x
x
0
0
x
x
0
Response Recognized By:
0
x
x
1
0
x
x
1
1
x
x
x
0
0
0
1
0
0
0
1
Response Recognized By:
0
x
x
1
0
x
x
0
Chapter 7: Programming Guide 7-99
0
0
x
x
Binary
0
x
x
x
Binary
x
x
x
x
Binary
x
x
x
x
Binary
x
x
1
0
Binary
x
x
1
0
Binary
x
x
x
x
Binary
0
0
0
1
Binary
0
0
1
1
Binary
x
x
0
0
Binary
x
x
x
x
Binary

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents