0x1D 0x57
<GS W>
Set printing area width
Valid for
TG02H
[Format]
ASCII
GS W nL nH
Hex
1D 57 nL nH
Decimal
29
87
nL
nH
[Range]
0 ≤ nL, nH ≤ 255
0 ≤ nL + nH × 256) ≤ 384
[Description]
Sets the printing area width to the area specified by nL and nH.
• The left margin is set to [(nL + nH × 256) × (horizontal motion unit)] inches.
Printable area
Left margin
Printing area width
[Notes]
• This command is only enabled if set at the beginning of the line.
• If the right margin is greater than the printable area, the printing area width is set at maximum value.
• If the printing area width = 0, it is set at the maximum value.
• The horizontal and vertical motion units are specified by 0x1D 0x50. Changing the horizontal or
vertical motion unit does not affect the current left margin.
• The 0x1D 0x50 command can change the horizontal (and vertical) motion unit.
• However, the value cannot be less than the minimum horizontal movement amount and it must be
in even units of the minimum horizontal movement amount.
[Default]
Se font A:
nL = 192
nH = 1
Se font B:
nL = 164
nH = 1
[Reference]
0x1D 0x4C, 0x1D 0x50
[Example]
ESC/POS™ emulation
│ 57
Содержание TG02H
Страница 1: ...COMMANDS MANUAL TG02H ...
Страница 3: ...ESC POS EMULATION INTRODUCTION ...
Страница 4: ......
Страница 7: ...ESC POS emulation ...
Страница 27: ... Default n 0 Reference 0x1B 0x2D 0x1B 0x45 0x1D 0x21 Example ESC POS emulation 27 ...
Страница 30: ... Example 18 dots 11 cpi 14 dots 15 cpi p1 MSB LSB p2 30 ESC POS emulation ...
Страница 98: ...98 ESC POS emulation ...
Страница 99: ......