Chapter 5: Programming commands
89
A776-PG00001 D 07/13
A776 (B780) Programming Guide
Unsolicited status mode
Select or cancel unsolicited status mode (USM)
ASCII:
GS a
n
Hexadecimal:
1D 61
n
Decimal:
29 97
n
Value of
n
:
0 turns mode off;
any non-zero value turns mode on
Default:
0 (USM disabled)
Enables or disables automatic return of 4 status bytes whenever one or more of the listed changes occurs. This
command is a batch mode command; that is, it is processed after all prior data in the input buffer has been processed.
There may be a time lag between the printer receiving this command and enabling unsolicited status mode (USM),
depending on the pending input buffer contents.
If an immediate return of printer status is desired, then any of the other status commands should be issued following
this command. Once this mode is activated, the printer automatically transmits 4 status bytes whenever any of
the conditions change. If an RS-232C connection with hardware flow control is used, all four status bytes will be
transmitted without checking DSR.
This command is a POS version of general printer unsolicited status functions; it uses the same command code as older
versions of the POS command “automatic status back (ASB)” but has the following differences:
• The parameter
n
is an on/off switch; it does not select trigger subset.
• There is no immediate return when this mode is turned on.
• All 4 status bytes are always returned.
A change in any of the following conditions will trigger the USM response:
• Cash Drawer
• Receipt Cover
• Knife Error
• Out-of-Range Printhead Temperature
• Out-of-Range Voltage
• Paper Exhaust Status
• Slip Paper
Related information
When Unsolicited Status Mode is enabled using this command, the status transmitted by other commands and the
USM status are differentiated according to the information found in Recognizing Data from the printer, which follows
the USM return description.
The status bytes to be transmitted are described in the following four tables.
Byte 1 = printer information
Byte 2 = error information
Byte 3 = paper sensor information
Byte 4 = paper sensor information
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...