0x1D 0x50
<GS P>
Set horizontal and vertical motion units
Valid for
TG02H
[Format]
ASCII
GS P x y
Hex
1D 50 x y
Decimal
29 80 x y
[Range]
0 ≤ nL, nH ≤ 255
[Description]
Sets the horizontal and vertical motion units to 1/x inch and 1/y inch respectively.
When x is set to 0, the default setting value is used.
When y is set to 0, the default setting value is used.
[Notes]
• The horizontal direction is perpendicular to the paper feed direction.
• In standard mode, the following commands use x or y, regardless of character rotation (upside-down
or 90° clockwise rotation):
Commands using x: 0x1B 0x20, 0x1B 0x24, 0x1B 0x5C, 0x1D 0x4C, 0x1D 0x57
Commands using y: 0x1B 0x33, 0x1B 0x4A
• This command does not affect the previously specified values.
• The calculated result from combining this command with others is truncated to the minimum value
of the mechanical pitch or an exact multiple of that value.
[Default]
x = 204, y = 408
[Reference]
0x1B 0x20, 0x1B 0x24, 0x1B 0x5C, 0x1B 0x33, 0x1B 0x4A, 0x1D 0x4C, 0x1D 0x57
[Example]
94 │
ESC/POS™ emulation
Содержание 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: ......