TH210
Programmer’s Guide
73
n
= 2
Recovers from an error after clearing the receive and print buffers. Print settings that are normally
preserved from line to line, such as character height and width, are still preserved with this
command. This sequence is ignored except when the printer is busy due to an error condition.
The same error recovery possibilities exist as for
n
= 1.
Exceptions
The command is ignored if
n
is out of range.
An application using DLE (0x10) sequence must send ENQ 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 03
n
sequence, that is handled exactly the same as 10 05
n
.
Real time printer status transmission
ASCII
Hexadecimal
Decimal
GS ENQ
1D 05
29 5
Transmits one byte status of the printer in real time.
Value of byte:
Bit
Off/On Hex
Decimal
Function
0
Off
00
0
Paper adequate.
On
01
1
Paper low (if paper low sensor enabled).
1
Off
00
0
Paper adequate.
On
02
2
Paper low (if paper low sensor enabled).
2
Off
00
0
Cover closed.
On
04
4
Cover open.
3
Off
00
0
Not busy at the RS-232C interface.
On
08
8
Printer is busy at the RS-232C interface.
4
Off
00
0
One or both cash drawers open.
On
10
16
Both cash drawers closed.
5
Off
00
0
Fixed to off.
6
Off
00
0
No error condition.
On
40
64
Error condition exists in the printer.
7
On
80
128
Fixed to on.
* Errors include cover open, paper out, black mark error, cutter error, thermistor error, high or low
voltage error, where a thermistor error is unrecoverable, and a high or low voltage error
automatically recover.
Exceptions
Unlike the A793, that had a dedicated connector and resultant dedicated status reporting for each
cash drawer, the TH210 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.
Содержание TH210
Страница 1: ...TH210 Thermal Printer Programmer s Guide December 2015 ...
Страница 123: ...TH210 Programmer s Guide 119 Character code table Page 1 PC850 Multilingual Latin I ...
Страница 124: ...TH210 Programmer s Guide 120 Character code table Page 2 PC852 Latin II ...
Страница 125: ...TH210 Programmer s Guide 121 Character code table Page 3 PC860 Portuguese ...
Страница 126: ...TH210 Programmer s Guide 122 Character code table Page 4 PC863 Canadian French ...
Страница 127: ...TH210 Programmer s Guide 123 Character code table Page 5 PC865 Nordic ...
Страница 128: ...TH210 Programmer s Guide 124 Character code table Page 6 PC858 Multilingual I Euro ...
Страница 129: ...TH210 Programmer s Guide 125 Character code table Page 7 PC866 Russian ...
Страница 130: ...TH210 Programmer s Guide 126 Character code table Page 8 WPC1252 Latin I ...
Страница 131: ...TH210 Programmer s Guide 127 Character code table Page 9 PC862 Hebrew ...
Страница 132: ...TH210 Programmer s Guide 128 Character code table Page 10 PC737 Greek ...
Страница 133: ...TH210 Programmer s Guide 129 Character code table Page 11 PC874 Thai ...
Страница 134: ...TH210 Programmer s Guide 130 Character code table Page 12 PC857 Turkish ...
Страница 135: ...TH210 Programmer s Guide 131 Character code table Page 13 WPC1251 Cyrillic ...
Страница 136: ...TH210 Programmer s Guide 132 Character code table Page 14 WPC1255 Hebrew ...
Страница 137: ...TH210 Programmer s Guide 133 Character code table Page 15 KZ_1048 Kazakh ...
Страница 138: ...TH210 Programmer s Guide 134 Character code table Page 16 WPC1254 Turkish ...
Страница 139: ...TH210 Programmer s Guide 135 Character code table Page 17 WPC1250 Central Europe ...
Страница 140: ...TH210 Programmer s Guide 136 Character code table Page 18 WPC28591 Latin 1 ...
Страница 141: ...TH210 Programmer s Guide 137 Character code table Page 19 WPC28592 Latin 2 ...
Страница 142: ...TH210 Programmer s Guide 138 Character code table Page 20 WPC28599 Turkish ...
Страница 143: ...TH210 Programmer s Guide 139 Character code table Page 21 WPC28605 Latin 9 ...
Страница 144: ...TH210 Programmer s Guide 140 Character code table Page 22 PC864 Arabic ...
Страница 145: ...TH210 Programmer s Guide 141 Character code table Page 23 PC720 Arabic ...
Страница 146: ...TH210 Programmer s Guide 142 Character code table Page 24 WPC1256 Arabic ...
Страница 147: ...TH210 Programmer s Guide 143 Character code table Page 25 WPC28596 Arabic ...
Страница 148: ...TH210 Programmer s Guide 144 Character code table Page 26 KATAKANA Asia ...
Страница 149: ...TH210 Programmer s Guide 145 Character code table Page 27 PC775 Baltic ...
Страница 150: ...TH210 Programmer s Guide 146 Character code table Page 28 WPC1257 Baltic ...
Страница 151: ...TH210 Programmer s Guide 147 Character code table Page 29 WP28594 Baltic ...