Specifications
TH230/TH230+ Programmers Guide
39
ESC !
Function:
Select print mode(s)
Code ASCII: ESC ! n
Code HEX: 0x1B 0x21 n
Range:
0 ≤ n ≤ 255
Default: n = 0
Description:
Selects or cancels print modes collectively (Emphasized, Double-height,
Double-width, Underline) using n as follows:
Bit Function
Value
0 1
0
Selected character font
Font A
Font B
1 Undefined - -
2
Undefined
-
-
3
Emphasized mode
Disabled
Enabled
4 Double-height mode Disabled Enabled
5
Double-width mode
Disabled
Enabled
6 Undefined - -
7
Underline mode
Disabled
Enabled
Notes:
• Functions for each bit can also be executed by the following commands:
• Bit 0 (Character font): ESC SYN
• Bit 3 (Emphasized mode): ESC E
• Bit 4, 5 (Character size): GS !,
DC2,
DC3
• Bit 7 (Underline mode): ESC -
• The print modes set by this command are effective for all characters
(except for HRI characters).
• When some characters in a line are double-height, all characters on the
line are aligned at the baseline.
• When double-width mode is turned on, the characters are enlarged to
the right, based on the left side of the character.
• When both double-height and double-width modes are turned on,
quadruple size characters are printed.
• In standard mode, the character is enlarged in the paper feed direction
when double-height mode is selected, and it is enlarged perpendicular
to the paper feed direction when double-width mode is selected.
• However, when character orientation changes in 90° clockwise-
rotated mode, the relationship between double-height and double-
width is reversed.
• In page mode, double-height and double-width are on the character
orientation.