Chapter 5: Programming commands
84
A776 (B780) Programming Guide
A776-PG00001 D 07/13
Real-time status transmission
GS sequence
DLE sequence
ASCII
GS EOT
n
DLE EOT
n
Hexadecimal
1D 04
n
10 04
n
Decimal
29 4
n
16 4
n
Value of
n:
GS/DLE sequence
1 = Transmit printer status
2 = Transmit RS-232C busy status
3 = Transmit error status
4 = Transmit receipt paper status
5 = Slip paper status
6 = Validation paper status
Transmits the selected one byte printer status specified by
n
command within a few msec according to the following
parameters. This command includes two sequences: GS (1D) and DLE (0
×
10).
Exceptions
The command is ignored if
n
is out of range.
An application using DLE (0
×
10) sequence must send EOT within 100 milliseconds of DLE or the printer will
misinterpret the DLE and execute a clear printer command. Avoid this possibility by using the ID 04
n
sequence, which
is handled exactly the same as 10 04
n
.
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.
Related information
1 = Transmit printer status
Bit Status Hex Decimal Function
0
Off
00
0
Fixed to Off.
1
On
02
2
Fixed to On.
2
Off
00
0
One or both cash drawers open.
On
04
4
Both cash drawers closed.
3
Off
00
0
Not busy at the RS-232C interface.
On
08
8
Printer is busy at the RS-232C
interface.
4
On
10
16
Fixed to on.
5
Undefined.
6
Undefined.
7
Off
00
0
Fixed to off.
Continued...
Содержание A776 ColorPOS
Страница 12: ...Contents x A776 B780 Programming Guide A776 PG00001 D 07 13...
Страница 14: ...Chapter 1 About this Guide 2 A776 B780 Programming Guide A776 PG00001 D 07 13...
Страница 160: ...Appendix B Resident Character Sets 148 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 737 Greek...
Страница 161: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 149 Code page 850 Multilingual...
Страница 162: ...Appendix B Resident Character Sets 150 A776 B780 Programming Guide A776 PG00001 D 07 13 Code Page 852 Slavic...
Страница 163: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 151 Code Page 857 Turkish...
Страница 164: ...Appendix B Resident Character Sets 152 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 858 with Eurosymbol...
Страница 165: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 153 Code page 860 Portugese...
Страница 166: ...Appendix B Resident Character Sets 154 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 862 Hebrew...
Страница 167: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 155 Code page 863 French Canadian...
Страница 168: ...Appendix B Resident Character Sets 156 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 865 Nordic...
Страница 169: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 157 Code page 866 Cyrillic...
Страница 170: ...Appendix B Resident Character Sets 158 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 1251 Cyrillic...
Страница 171: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 159 Code page 1252 Windows Latin 1...
Страница 172: ...Code page 1255 Hebrew...
Страница 173: ...Code page KZ_1048 Kazakh Code Page KZ_1048 Kazakh...
Страница 174: ...Appendix C Electronic Journal 162 A776 B780 Programming Guide A776 PG00001 D 07 13...
Страница 179: ......
Страница 180: ...A776 PG00001 Rev D 07 2013...