Specifications

TH230/TH230+ Programmers Guide
87
GS !
Function:
Select character size
Code ASCII: GS ! n
Code HEX: 0x1D 0x21 n
Range:
0 ≤ n ≤ 7, 16 ≤ n 23, 32 ≤ n ≤ 39, 48 ≤ n ≤ 55,
64 ≤ n ≤ 71, 80 ≤ n ≤ 87, 96 ≤ n ≤ ≤ 103, 112 ≤ n 119
(1 ≤ width ≤ 8, 1 ≤ height ≤ 8)
Default:
n = 0
Description: Selects the character height (vertical number of times normal font size)
using bits 0 to 2 and selects the character width (horizontal number of
times normal font size) using bits 4 to 6, as follows:
Character width selection
Bit
6
Bit 5 Bit 4 Hex Decimal Width
Off
Off
Off
00
0
1 (normal)
Off Off On 10 16 2 (double
width)
Off
On
Off
20
32
3
Off
On
On
30
48
4
On
Off
Off
40
64
5
On Off On 50 80 6
On On Off 60 96 7
On On On 70 112 8
Character height selection
Bit
2
Bit 1
Bit 0
Hex
Decimal
Height
Off
Off
Off
00
0
1 (normal)
Off
Off
On
01
1
2 (double
height)
Off On Off 02 2 3
Off
On
On
03
3
4
On
Off
Off
04
4
5
On
Off
On
05
5
6
On On Off 06 6 7
On On On 07 7 8
Notes:
The character size set by this command is effective for all characters
(except for HRI characters).
When the characters are enlarged with different heights on one line, all
the characters on the line are aligned at the baseline.
When the characters are enlarged width wise, the characters are
enlarged to the right, based on the left side of the character.
ESC ! can also turn double-width and double-height modes on or off.
That means it overwrites the settings of GS !.