Chapter 5: Programming commands
92
A776 (B780) Programming Guide
A776-PG00001 D 07/13
Fourth byte (paper sensor information) -- B780
Bit Off/On Hex Decimal Status for USM
0 Off
00 0
Slip paper selected
On
01 1
Slip paper not selected
1 Off
00 0
Possible to print on slip
On
02 2
Not possible to print on slip
2 On
00 0
Validation selected
Off
01 1
Validation not selected
3 On
00 0
Validation paper printable
Off
01 1
Validation paper not printable
4 Off
00 0
Not used. Fixed to off.
5 Off
00 0
Lead edge paper present
On
01 1
Lead edge paper not present
6 Off
00 0
Trail edge paper present
On
01 1
Trail edge paper not present
7 Off
00 0
Not used. Fixed to off
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
Response recognized by:
ASCII
HEX
ECS u 0
1B 75 0
0
0
0
0
0
0
x
x
Binary
ESC v
1B 76
0
x
x
0
0
x
x
x
Binary
GS I
n
1D 49
n
0
x
x
0
x
x
x
x
Binary
GS r
n
1D 72
n
0
x
x
0
x
x
x
x
Binary
Real time response
Response recognized by:
ASCII
HEX
GS EOT
n
1D 04
n
0
x
x
1
x
x
1
0
Binary
DLE EOT
n
10 04
n
0
x
x
1
x
x
1
0
Binary
GS ENQ
1D 05
1
x
x
x
x
x
x
x
Binary
XON
0
0
0
1
0
0
0
1
Binary
XOFF
0
0
0
1
0
0
1
1
Binary
Unsolicited status mode (USM)
Response recognized by:
USM Byte 1
0
x
x
1
x
x
0
0 Binary
USM Byte 2–4
0
x
x
0
x
x
x
x Binary
Summary of Contents for A776 ColorPOS
Page 12: ...Contents x A776 B780 Programming Guide A776 PG00001 D 07 13...
Page 14: ...Chapter 1 About this Guide 2 A776 B780 Programming Guide A776 PG00001 D 07 13...
Page 172: ...Code page 1255 Hebrew...
Page 173: ...Code page KZ_1048 Kazakh Code Page KZ_1048 Kazakh...
Page 174: ...Appendix C Electronic Journal 162 A776 B780 Programming Guide A776 PG00001 D 07 13...
Page 179: ......
Page 180: ...A776 PG00001 Rev D 07 2013...