CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS)
B-EP
Series
8-83
8.10.59 CHARACTER SIZE SET COMMAND
[GS] !
Function
Specifies a character size (magnification in the vertical / horizontal direction).
Format [GS]
!n
Term
ASCII: GS !
Hex: 1Dh 21h
[Parameter]
n: Specifying a character size
1
≤
n
≤
255 (00h
≤
n
≤
FFh)
*
1
≤
Magnification in vertical direction
≤
8, 1
≤
Magnification in horizontal direction
≤
8
b7
b0
Table 1 [Magnification in horizontal direction]
Table 2 [Magnification in vertical direction]
1-byte data (hex)
Magnification
1-byte data (hex)
Magnification
00
x 1 (standard)
00
x 1 (standard)
10
x 2 (double width)
01
x 2 (double height)
20
x 3
02
x 3
30
x 4
03
x 4
40
x 5
04
x 5
50
x 6
05
x 6
60
x 7
06
x 7
70
x 8
07
x 8
Default value
n: 0
Example
A magnification in the horizontal direction is x 3, and a magnification in the vertical
direction is x 6.
The command is [GS] ! [25].
Explanation
(1) This parameter setting applies to all characters (ANK and Chinese characters)
except for HRI characters.
(2) If either a specified magnification in the vertical or horizontal direction is out of the
defined range, this command will be ignored.
(3) In standard mode, “vertical direction” refers to the paper feed direction, and
“horizontal direction” to the direction perpendicular to the paper feed direction.
Therefore, if 90-degree rotation is specified, this relationship will be reversed.
(4) In page mode, “vertical direction” refers to the vertical direction of a character, and
the horizontal direction to the width.
(5) Double width and double height can be set or canceled by the Print Mode All Set
Command ([ESC] !). But the most recently processed command is applied.
Reference
Print Mode All Set Command ([ESC] !)
Magnification in vertical direction
(See Table 2.)
Magnification in horizontal direction (See Table 1.)