Programmers Guide
TH230/TH230+
164
GS g 0
Function:
Initialize maintenance counter
Code ASCII:
GS
g
0
m
n
L
n
H
Code HEX:
0x1D 0x67 0x30
0x00 n
L
n
H
Range:
m
= 0
(
n
L
+
n
H
× 256) = 20, 21, 50, 52~57, 59
Description:
Sets the resettable maintenance counter specified by
n
L
and
n
H
to 0.
•
n
L
and
n
H
specify a resettable maintenance counter number as (
n
L
+
n
H
×
256).
In addition, the associated change counter (if existing) is increased by one.
This is only possible by
n
L
+
n
H
x 256 = 20, 21 and 50.
Example: If the Cutter is replaced and GS g 0 0 50 00 is executed, the cutter
change counter CUTC is increased by one (command GS g 2 see page 166).
Counter
(n
L
+ n
H
x 256)
Specification
20
Paper feed of 1/7.52 inch as one line
21
All fired dots
50
Cutter operations
52
Cutter Errors
53
Black Mark Errors
54
Thermistor Errors
55
Low Voltage Errors
56
High Voltage Errors
57
Cover Open Counter
59
Maximum Head Temperature
Notes:
•
In standard mode, this command is effective only when processed at the
beginning of a line.
•
Unsupported counter numbers cannot be specified.
•
Do not use this command while a macro is being defined, because the
command cannot be included in the macro.
•
There are two kinds of maintenance counters: resettable counters and
accumulation counters. A resettable counter is a maintenance counter
that can be initialized, and an accumulation counter indicates the counter
value from when the printer starts operation. An accumulation counter
cannot be initialized (see GS g 2 for details of the accumulation counter.)
•
Take the following into account when writing data to a non-volatile
memory.
•
The printer may be in BUSY state when processing this command. In this
case, be sure not to send a command from the host to the printer,
because the printer will not receive the command.
Summary of Contents for TH230
Page 1: ...TH230 TH230 POS Printer Programmers Guide July 2013 ...
Page 3: ...TH230 TH230 POS Printer Programmers Guide July 2013 ...
Page 214: ...TH230 TH230 Programmers Guide 207 Character code table Page 1 PC850 Multilingual Latin I ...
Page 215: ...Programmers Guide TH230 TH230 208 Character code table Page 2 PC852 Latin II ...
Page 216: ...TH230 TH230 Programmers Guide 209 Character code table Page 3 PC860 Portuguese ...
Page 217: ...Programmers Guide TH230 TH230 210 Character code table Page 4 PC863 Canadian French ...
Page 218: ...TH230 TH230 Programmers Guide 211 Character code table Page 5 PC865 Nordic ...
Page 219: ...Programmers Guide TH230 TH230 212 Character code table Page 6 PC858 Multilingual I Euro ...
Page 220: ...TH230 TH230 Programmers Guide 213 Character code table Page 7 PC866 Russian ...
Page 221: ...Programmers Guide TH230 TH230 214 Character code table Page 8 WPC1252 Latin I ...
Page 222: ...TH230 TH230 Programmers Guide 215 Character code table Page 9 PC862 Hebrew ...
Page 223: ...Programmers Guide TH230 TH230 216 Character code table Page 10 PC737 Greek ...
Page 224: ...TH230 TH230 Programmers Guide 217 Character code table Page 11 PC874 Thai ...
Page 225: ...Programmers Guide TH230 TH230 218 Character code table Page 12 PC857 Turkish ...
Page 226: ...TH230 TH230 Programmers Guide 219 Character code table Page 16 WPC1254 Turkish ...
Page 227: ...Programmers Guide TH230 TH230 220 Character code table Page 17 WPC1250 Central Europe ...
Page 228: ...TH230 TH230 Programmers Guide 221 Character code table Page 18 WPC28591 Latin 1 ...
Page 229: ...Programmers Guide TH230 TH230 222 Character code table Page 19 WPC28592 Latin 2 ...
Page 230: ...TH230 TH230 Programmers Guide 223 Character code table Page 20 WPC28599 Turkish ...
Page 231: ...Programmers Guide TH230 TH230 224 Character code table Page 21 WPC28605 Latin 9 ...
Page 232: ...TH230 TH230 Programmers Guide 225 Character code table Page 22 PC864 Arabic ...
Page 233: ...Programmers Guide TH230 TH230 226 Character code table Page 23 PC720 Arabic ...
Page 234: ...TH230 TH230 Programmers Guide 227 Character code table Page 24 WPC1256 Arabic ...
Page 235: ...Programmers Guide TH230 TH230 228 Character code table Page 25 WPC28596 Arabic ...
Page 236: ...TH230 TH230 Programmers Guide 229 Character code table Page 26 KATAKANA Asia ...
Page 237: ...Programmers Guide TH230 TH230 230 Character code table Page 27 PC775 Baltic ...
Page 238: ...TH230 TH230 Programmers Guide 231 Character code table Page 28 WPC1257 Baltic ...
Page 239: ...Programmers Guide TH230 TH230 232 Character code table Page 29 WPC28594 Baltic ...
Page 293: ...Wincor Nixdorf International GmbH 2013 D 33094 Paderborn ...