TH230/TH230+
Programmers Guide
157
GS W
Function:
Set printing area width
Code ASCII:
GS
W
n
L
n
H
Code HEX:
0x1D 0x57
n
L
n
H
Range:
0 ≤ (
n
L
+
n
H
× 256) ≤ 65535 (0 ≤
n
L
≤ 255, 0 ≤
n
H
≤ 255)
Default:
Entire printable area
n
L
= 64,
n
H
= 2 (when paper width is set to 80 mm (576 dots))
n
L
= 152,
n
H
= 1 (when paper width is set to 57.5 mm (408 dots))
Description:
In standard mode, sets the printing area width to (
n
L
+
n
H
× 256) × (horizontal
motion unit).
Notes:
•
When standard mode is selected, this command is enabled only when
processed at the beginning of the line.
•
The printing area width has no effect in page mode. If this command is
processed in page mode, the printing area width is set and it is enabled
when the printer returns to standard mode.
•
If the [left printing area width] exceeds the printable area, the
printing area width is automatically set to [printable area – left margin].
•
If this command and GS L set the printing area width to less than the
width of one character, the printing area width is extended to
accommodate one character for the line.
•
Horizontal motion unit is used.
•
If horizontal motion unit is changed after setting the printable area width,
the printable area width setting will not be changed.
•
Printable area width setting is effective until ESC @ is executed, the
printer is reset, or the power is turned off.
•
The horizontal motion unit is specified by GS P.
•
See GS ( E Functions 5 and 6 for specifying the paper width.
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 ...