3. PRINTER FUNCTIONS3. PRINTER FUNCTIONS
KPM216H
353-
)2edom(LyHyLxHx0D$SG
[Name] Set horizontal and vertical motion units
[Format] ASCII GS $D0 xH xL yH yL
Hex 1D D0 xH xL yH yL
Decimal 29 208 xH xL yH yL
[Range] 0 ≤ ((xH * 256) + xL) ≤ 2040
0 ≤ ((yH * 256) + yL) ≤ 4080
[Description] Sets the horizontal and vertical motion units to 1/((xH * 256) + xL) inch and
1/((yH * 256) + yL) 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 : GS L, GS W.
Commands using y : ESC J.
• This command does not affect the previously specified values.
• The calculated result from combining this command with others is trun-
cated 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 J, GS L, GS W, GS P
[Example]
n}{SG
[Name] Enable / disable automatic FULL STATUS back
[Format] ASCII GS { } n
Hex 1D E0 n
Decimal 29 224 n
[Range] 0 ≤ n ≤ 255
[Description] Enable / disable automatic full status back. n specifies the composition of
FULL STATUS as follows: