Specifications
$1B $21
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
0
Off 00 0 Character font A selected
On 01 1 Character font B selected
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 Underlined mode not selected
On 80 128 Underlined mode selected
[Notes] • The printer can underline all characters, but cannot underline the spaces set by $09,
$1B $24, $1B $5C and 90° clockwise rotated characters.
• When characters are enlarged to different heights on one line, the characters are aligned
at the baseline or topline (see $1D $7E).
• 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 $34 can also be used to turn the italic 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.
[Default] n = 0
[Reference] $1B $2D, $1B $45, $1B $34, $1D $21
[Example]
$1B $24
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
KPM54 Emulation
Command Reference 69