Specifications

[Description] Sets the distance from the beginning of the line to the position at which subsequent
characters are to be printed.
The distance from the beginning of the line to the print position is [(nL + nH × 256) ×
(vertical or horizontal motion unit)] inches.
[Notes] • Settings outside the speci ed printable area are ignored.
The horizontal and vertical motion unit are speci ed by $1D $50.
$1D $50 can change the horizontal (and vertical) motion unit. However, the value cannot
be less than the minimum horizontal movement amount.
• In standard mode, the horizontal motion unit (x) is used.
• If the setting is outside the printing area width, it sets the absolute print position, but the
left or right margin is set at default value.
[Default]
[Reference] $1B $5C, $1D $50
[Example]
$1B $2A m nL nH d1...dk
Printers: KPM150
[Name] Select bit image mode
[Format] ASCII ESC * m nL nH d1...dk
Hex 1B 2A m nL nH d1...dk
Decimal 27 42 m nL nH d1...dk
[Range] m = 0, 1, 32, 33
0 nL 255
0 nH 3
0 d 255
[Description] Selects a bit image mode using m for the number of dots speci ed by nL and nH, as fol-
lows:
m MODE
VERTICAL DIRECTION HORIZONTAL DIRECTION
N° dots DPI DPI N° of data (k)
0 8 dot single density 8 67 100 nL + nH x 256
1 8 dot double density 8 67 200 nL + nH x 256
32 24 dot single density 24 200 100 (nL + nH x 256) x 3
33 24 dot double density 24 200 200 (nL + nH x 256) x 3
[Notes] • The nL and nH parameters indicate the number of dots of the bit image in the horizontal
direction. The number of dots is calculated using: nL + nH x 256.
• If the bit image data input exceeds the number of dots to be printed on a line, the excess
data is ignored.
• d indicates the bit image data. Set a corresponding bit to 1 to print a dot, or to 0 to not
print the dot.
• If the value of m is outside the speci ed range, nL and data following it are processed
as normal data.
If the width of the printing area set by $1D $4C and $1D $57 is less than the width re-
quired by the data set using $1B $2A, the excess data are ignored.
• To print the bit image use $0A, $0D, $1B $4A or $1B $64.
After printing a bit image, the printer returns to normal data processing mode.
• This command is not affected by the emphasized, double-strike, underline (etc.) print
modes, except for the upside-down mode.
• The relationship between the image data and the dots to be printed is as follows:
ESC/POS™ Emulation
Command Reference 13