TH230/TH230+
Programmers Guide
101
GS ( E p
L
p
H
fn a <Function 4>
Code ASCII:
GS
(
E
p
L
p
H
fn
a
Code HEX:
0x1D 0x28 0x45 0x02 0x00 0x04
a
Range:
(
p
L
+
p
H
× 256) = 2 (
p
L
= 2,
p
H
= 0):
fn
= 4
a
= 1, 2, 128
Description:
The printer transmits the value for the memory switch specified by
parameter
a
to the host.
Notes:
•
This function works both in user setting mode and during normal printer
operation.
•
The printer transmits the “Header to NUL” data shown below:
Transmit data Hex
Decimal Data quantity
Header
0x37
55
1 byte
Identifier
0x21
33
1 byte
Setting value 0x30 or 0x31 48 or 49 8 byte
NULL
0x00
0
1 byte
•
The value of the memory switch is transmitted from bit 8 to bit 1. 48 or
49 is transmitted for a bit of Reserved.
•
The host can differentiate the data for the memory switch from other
transmitted data by the specific information in the transmit data block.
When the header transmitted from the printer is 0x37 or 55 decimal, the
data up to NUL (0x00 or 0 decimal) is handled as one group and can be
identified by the following data:
Transmit data
Hex Decimal
1st byte (header) 0x37 55
2nd byte
(identifier)
0x21 33
However, consider the following requirement for data processing:
• When communication with the printer uses XON/XOFF control, the
XOFF code may interrupt the “Header to NUL” data string.
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 ...