Specifications
$1D $57 nL nH
Printers: KPM150
[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 × 256) ≤ 640
[Description] Sets the printing area width to the area specifi ed 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 specifi ed by $1D $50. Changing the hori-
zontal or vertical motion unit does not affect the current left margin.
• The $1D $50 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]
[Reference] $1D $4C, $1D $50
[Example]
$1D $66
Printers: KPM150
[Name] Select font for HRI characters
[Format] ASCII GS f n
Hex 1D 66 n
Decimal 29 102 n
[Range] n = 0, 1, 48, 49
[Description] Selects a font for the HRI characters used when printing a bar code. n selects a font from
the following table:
n FONT
0, 48 Font A
1, 49 Font B
[Notes] HRI characters are printed at the position specifi ed by $1D $48.
[Default] n = 0
[Reference] $1D $48, $1D $6B
[Example]
ESC/POS™ Emulation
30 Command Reference