3. PRINTER FUNCTIONS3. PRINTER FUNCTIONS
KPM216H
173-
[Notes] • Only the LSB of n is effective.
• ESC ! also turns on and off the emphasized mode. However, the last
received command is the effective one.
[Default] n = 0
[Reference] ESC !
[Example]
HnLn\CSE
[Name] Set relative print position
[Format] ASCII ESC \ nL nH
Hex 1B 5C nL nH
Decimal 27 92 nL nH
[Range] 0 ≤ nL ≤ 255
0 ≤ nH ≤ 255
[Description] Sets the print starting position based on the current position by using the
horizontal or vertical motion unit.
Sets the distance from the current position to [(nL+ nH × 256) × (horizontal
or vertical motion unit)].
[Notes] • Any setting that exceeds the printable area is ignored.
• When the starting position is specified by n motion units to the right:
nL + nH × 256 = n
When the starting position is specified by n motion units to the left
(negative direction), use the complement of 65536:
nL + nH × 256 = 65536 – n
• If setting exceeds the printing area width, the left or right margin is set to
the default value.
• The horizontal and vertical motion unit are specified by GS P or GS $D0.
• GS P or GS $D0 can change the horizontal (and vertical) motion units.
However, the value cannot be less than the minimum horizontal movement
amount.
• In standard mode, the horizontal motion unit is used.
[Default]
[Reference] ESC $, GS P or GS $D0
[Example]
naCSE
[Name] Select justification
[Format] ASCII ESC a n
Hex 1B 61 n
Decimal 27 97 n
[Range] 0 ≤ n ≤ 2, 48 ≤ n ≤ 50
[Description] Aligns all data in one line to the specified position.
n selects the type of justification as follows: