Select Character Size - CognitiveTPG A798 Programming Manual

Thermal receipt printer
Hide thumbs Also See for A798:
Table of Contents

Advertisement

Revision D 10/13

Select character size

ASCII
GS ! n
Hexadecimal
1D 21 n
Decimal
29 33 n
Value of n:
1–8 = vertical number of times active font
1–8 = horizontal number of times active font
Range of n:
00–07, 10–17, ...70–77
Default of n:
11 hexadecimal
Selects the character height using bits 0 to 2 and selects the character width using bits 4 to 6, as follows:
With smoothing enabled, maximum value of 0 + n is 66.
Character width selection
Hex
Decimal
Width
00
0
1 (normal)
10
16
2 (two times width)
20
32
3 (three times width)
30
48
4 (four times width)
40
64
5 (five times width)
50
80
6 (six times width)
60
96
7 (seven times width)
70
112
8 (eight times width)
This command is effective for all characters (except for HRI characters).
In standard mode, the vertical direction is the paper feed direction, and the horizontal direction is perpendicular to the
paper feed direction. However, when character orientation changes in 90 degree clockwise-rotation mode, the relationship
between vertical and horizontal directions is reversed.
In page mode, vertical and horizontal directions are based on the character orientation. When characters are enlarged with
different sizes on one line, all the characters on the line are aligned at the baseline.
The select print mode (1B 21 n) command can also select or cancel double-width and double-height modes. However, the
setting of the last received command is effective.
Exceptions
If n is out of the defined range, this command is ignored.
In native mode, the vertical direction is limited to 7 (seven times height) when Tall or ColorPOS
(eight times height) is selected, the results are unspecified.
Related information
In A793 emulation, this command is discarded and not put into print buffer.
Chapter 4: Programming Commands
Character height selection
Hex
Decimal
00
0
01
1
02
2
03
3
04
4
05
5
06
6
07
7
A798-PG00001D
Height
1 (normal)
2 (two times height)
3 (three times height
4 (four times height)
5 (five times height)
6 (six times height)
7 (seven times height)
8 (eight times height)
font is selected. If 8
®
57

Advertisement

Table of Contents
loading

Table of Contents