Specifications
$1B $7B
Printers: KPM150
[Name] Turn upside-down printing mode on/off
[Format] ASCII ESC { n
Hex 1B 7B n
Decimal 27 123 n
[Range] 0 ≤ n ≤ 255
[Description] Turns upside-down printing mode on or off.
• When the LSB of n is 0, the upside-down printing mode is off.
• When the LSB of n is 1, the upside-down printing mode is on.
[Notes] • Only the LSB of n is effective.
• This command is valid only if entered at the beginning of a line.
• In upside-down printing mode, the printer rotates the line to be printed 180° and then
prints it.
[Default] n = 0
[Reference]
[Example] Upside-down printing Off Upside-down printing On
ABCDEFG
123456
123456
ABCDEFG
↑
Printing direction
$1D $21
Printers: KPM150
[Name] Select character size
[Format] ASCII GS ! n
Hex 1D 21 n
Decimal 29 33 n
[Range] 0 ≤ n ≤ 255
[Description] Selects character height and width, as follows:
• Bits 0 to 3: to select character height (see table 2).
• Bits 4 to 7: to select character width (see table 1).
Table 1 Select character width Table 2 Select character height
HEX Decimal WIDTH HEX Decimal HEIGHT
00 0 1 (normal) 00 0 1 (normal)
10 16 2 (double width) 01 1 2 (double height)
20 32 3 (quadruple width) 02 2 3 (quadruple height)
30 48 03 3
40 64 04 4
50 80 05 5
60 96 06 6
70 112 07 7
[Notes] • This command is effective for all characters (except HRI characters).
• If n falls outside the defi ned range, this command is ignored.
• Characters enlarged to different heights on the same line are aligned at the baseline or
topline (see $1D $7E).
• $1B $21 can also be used to select character size. However, the setting of the last
received command is the effective one.
[Default] n = 0
KPM54 Emulation
82 Command Reference