3. PRINTER FUNCTIONS
KPM210/216 463-
)1edom(yxPSG)1edom(yxPSG )1edom(yxPSG )1edom(yxPSG)1edom(yxPSG
[Name] Set horizontal and vertical motion units
[Format] ASCII GS P x y
Hex 1D 50 x y
Decimal 29 80 x y
[Range] 0 x, y 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, re-
gardless of character rotation (upside-down or 90° clockwise
rotation):
QCommands using x : ESC SP, ESC $, ESC \, GS L, GS
W.
RCommands using y : ESC 3, ESC J.
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 (for the 204 dpi model)
x = 300, y = 600 (for the 300 dpi model)
[Reference] ESC SP, ESC $, ESC \, ESC 3, ESC J, GS L, GS W, GS
$D0
[Example]
HnLnWSGHnLnWSG HnLnWSG HnLnWSGHnLnWSG
[Name] Set printing area width
[Format] ASCII GS W nL nH
Hex 1D 57 nL nH
Decimal 29 87 nL nH
[Range] 0 nL, nH 255
0 nL + nH x 256) nMax
(Tab.A.3)
www.ipcprint.com