TH320/TH420
Programmers Guide
77
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 Print head 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.
Byte1= printer information
Byte2= error information
Byte3= paper sensor information
Byte4= paper sensor information
Summary of Contents for TH320
Page 1: ...TH320 TH420 Two Color Thermal Impact Hybrid Printer Programmers Guide ...
Page 75: ...TH320 TH420 Programmers Guide 67 ...
Page 121: ...TH320 TH420 Programmers Guide 113 Character Sets Character code 437 USA Standard Europe ...
Page 122: ...Programmers Guide TH320 420 114 Codepage 737 Greek ...
Page 123: ...TH320 TH420 Programmers Guide 115 Codepage 850 Multilingual ...
Page 124: ...Programmers Guide TH320 420 116 Codepage 852 Slavic ...
Page 125: ...TH320 TH420 Programmers Guide 117 Codepage 857 Turkish ...
Page 126: ...Programmers Guide TH320 420 118 Codepage 858 with Euro symbol ...
Page 127: ...TH320 TH420 Programmers Guide 119 Codepage 860 Portuguese ...
Page 128: ...Programmers Guide TH320 420 120 Codepage 862 Hebrew ...
Page 129: ...TH320 TH420 Programmers Guide 121 Codepage 863 French Canadian ...
Page 130: ...Programmers Guide TH320 420 122 Codepage 865 Nordic ...
Page 131: ...TH320 TH420 Programmers Guide 123 Codepage 866 Cyrillic ...
Page 132: ...Programmers Guide TH320 420 124 Codepage 1252 Windows Latin 1 ...
Page 134: ...Programmers Guide TH320 420 126 Codepage 1255 Hebrew ...
Page 142: ...Programmers Guide TH320 420 134 TH420 Additional Features ...
Page 156: ......
Page 157: ...TH320 TH420 Programmers Guide Wincor Nixdorf International GmbH D 33094 Paderborn ...