CognitiveTPG A799 User Manual

Page 60

Advertising
background image

Chapter 4: Programming Commands

60

Revision D 12/09

A799-PG00001D

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)

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)

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

®

font is selected. If 8

(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)

Advertising