Chapter 5: Programming commands
80
A776 (B780) Programming Guide
A776-PG00001 D 07/13
Transmit status
ASCII
GS r
n
Hexadecimal
1D 72
n
Decimal
29 114
n
Value of
n:
1, 49 = printer status
2, 50 = cash drawer status
3, 51 = slip paper status
4, 52 = Flash memory user sector status
Range of
n
:
1–4
49–52
Transmits the status specified by
n
. This is a batch mode command which transmits the response after all prior data
in the receive buffer has been processed. There may be a time lag between the printer receiving this command and
transmitting the response, depending on the receive buffer status.
When DTR/DSR RS-232C communications handshaking control is selected, the printer transmits the one byte response
only when the host signal DSR indicates it is ready to receive data.
When XON/XOFF RS-232C communications handshaking control is selected, the printer transmits the one byte
response regardless of the host signal DSR.
When unsolicited status mode (USM) is enabled using the enable/disable unsolicited status mode command (1D 61),
the status transmitted by this command (transmit status) and the USM status must be differentiated according to
the information found in recognizing data from the printer. This is found in the real time commands section of this
document.
The status bytes to be transmitted are described in the following four tables.
Exceptions
When
n
is out of the specified range, the command is ignored.
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.
Printer status (
n
= 1 or
n
= 49)
Bit Off/On Hex Decimal Status for transmit status
0
Off
00
0
Receipt paper adequate.
On
01
1
Receipt paper low.
1
Off
00
0
Receipt paper adequate.
On
02
2
Receipt paper low.
2
Off
00
0
Receipt paper present.
On
04
4
Receipt paper exhausted.
3
Off
00
0
Receipt paper present.
On
08
8
Receipt paper exhausted.
4
Off
00
0
Not used. Fixed to off.
5
Off
00
0
Slip leading edge sensor:
paper present.
On
20
32
Slip leading edge sensor:
no paper.
6
Off
00
0
Slip trailing edge sensor:
paper present.
On
40
64
Slip trailing edge sensor:
no paper.
7
Off
00
0
Not used. Fixed to off.
Содержание 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...