CognitiveTPG A760 User Manual

Page 59

Advertising
background image

A760 User Guide: Programming Supplement

Chapter 4: Programming commands

59

Revision F January 2010

Select character size

ASCII

GS ! n

Hexadecimal 1D 21 n
Decimal

29 33 n

Value of n:

1–8 = vertical number of times normal font

1–8 = horizontal number of times

normal font

Range of n:

00–07, 10–17, ...70–77

Default of n:

0

Selects the character height using bits 0 to 2 and selects the
character width using bits 4 to 7, as follows:

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.
This command is only valid for the receipt station.
This is only available in A758 emulation and A760 native
modes.

Advertising