Specifications
$1B $21 n
Printers: KPM150
[Name] Select print modes
[Format] ASCII ESC ! n
Hex 1B 21 n
Decimal 27 33 n
[Range] 0 ≤ n ≤ 255
[Description] Selects print modes using n (see table below):
BIT OFF/ON HEX Decimal FUNCTION 11/15 cpi 15/20 cpi
0
Off 00 0 Character font A selected. 18 x 24 14 x 24
On 01 1 Character font B selected 14 x 24 10 x 24
1 - - - Undefi ned.
2 - - - Undefi ned.
3
Off 00 0 Expanded mode not selected.
On 08 8 Expanded mode selected.
4
Off 00 0 Double-height mode not selected.
On 10 16 Double-height mode selected.
5
Off 00 0 Double-width mode not selected.
On 20 32 Double-width mode selected.
6
Off 00 0 Italic mode not selected.
On 40 64 Italic mode selected.
7
Off 00 0 Underline mode not selected.
On 80 128 Underline mode selected.
[Notes] • The printer can underline all characters, but cannot underline the spaces set by $09,
$1B $24, $1B $5C and 90°/270° rotated characters.
• This command resets the left and right margin at default value (see $1D $4C, $1D
$57).
• $1B $45 can also be used to turn the emphasized mode on/off. However, the last-received
setting command is the effective one.
• $1B $2D can also be used to turn the underlining mode on/off. However, the last-received
setting command is the effective one.
• $1D $21 can also be used to select character height/width. However, the last-received
setting command is the effective one.
• $1B $34 can also be used to turn the italic mode on/off. However, the last-received set-
ting command is the effective one.
[Default] n = 0
[Reference] $1B $2D, $1B $34, $1B $45, $1D $21
[Example]
$1B $24 nL nH
Printers: KPM150
[Name] Set absolute print position
[Format] ASCII ESC $ nL nH
Hex 1B 24 nL nH
Decimal 27 36 nL nH
[Range] 0 ≤ nL ≤ 255
0 ≤ nH ≤ 255
ESC/POS™ Emulation
12 Command Reference