Recognizing Data From The Printer - CognitiveTPG A776 Programming Manual

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

Advertisement

Fourth byte (paper sensor information) -- B780
Bit Off/On Hex Decimal Status for USM
0
Off
00
0
On
01
1
1
Off
00
0
On
02
2
2
On
00
0
Off
01
1
3
On
00
0
Off
01
1
4
Off
00
0
5
Off
00
0
On
01
1
6
Off
00
0
On
01
1
7
Off
00
0

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.
Batch mode responses are non-real time responses and 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
A776-PG00001 C 12/09
Slip paper selected
Slip paper not selected
Possible to print on slip
Not possible to print on slip
Validation selected
Validation not selected
Validation paper printable
Validation paper not printable
Not used. Fixed to off.
Lead edge paper present
Lead edge paper not present
Trail edge paper present
Trail edge paper not present
Not used. Fixed to off
Response recognized by:
0
0
0
0
0
x
x
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 5: Programming commands
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
A776 (B780) Programming Guide
99

Advertisement

Table of Contents
loading

This manual is also suitable for:

B780

Table of Contents