Select Character Size; Set Smoothing; Select Or Cancel White/Black Reverse Print Mode - CognitiveTPG A799 Programming Manual

A799 two-color thermal receipt printer
Hide thumbs Also See for A799:
Table of Contents

Advertisement

60
Chapter 4: Programming Commands

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
00
0
10
16
20
32
30
48
40
64
50
80
60
96
70
112
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.

Select or cancel white/black reverse print mode

ASCII
GS B n
Hexadecimal
1D 42 n
Decimal
29 66 n
Value of n:
0 = Off
1 = On
(When 0 and 1 are the least significant bit, LSB)
Range of n:
0–255
Default:
0 (Off )
Width
1 (normal)
2 (two times width)
3 (three times width)
4 (four times width)
5 (five times width)
6 (six times width)
7 (seven times width)
8 (eight times width)
A799-PG00001D
Character height selection
Hex
Decimal
Height
00
0
1 (normal)
01
1
2 (two times height)
02
2
3 (three times height
03
3
4 (four times height)
04
4
5 (five times height)
05
5
6 (six times height)
06
6
7 (seven times height)
07
7
8 (eight times height)
font is selected. If 8
®
Revision D 12/09

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Colorpos a799

Table of Contents