Cognitive Solutions A799 Select character size, Select or cancel white/black reverse print mode

Models: A799

1 142
Download 142 pages 30.19 Kb
Page 60
Image 60

60 Chapter 4: Programming CommandsRevision D 12/09

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

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Character height selection

 

Hex

Decimal

Width

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Hex

Decimal

Height

 

00

0

1

(normal)

 

 

 

 

 

 

 

00

0

1

(normal)

 

10

16

2

(two times width)

 

 

 

 

 

 

 

01

1

2

(two times height)

 

20

32

3

(three times width)

 

 

 

 

 

 

 

02

2

3

(three times height

 

30

48

4

(four times width)

 

 

 

 

 

 

 

03

3

4

(four times height)

 

40

64

5

(five times width)

 

 

 

 

 

 

 

04

4

5

(five times height)

 

50

80

6

(six times width)

 

 

 

 

 

 

 

05

5

6

(six times height)

 

60

96

7

(seven times width)

 

 

 

 

 

 

 

06

6

7

(seven times height)

70

112

8

(eight times width)

 

 

 

 

 

 

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)

A799-PG00001D

Page 60
Image 60
Cognitive Solutions A799 Select character size, Select or cancel white/black reverse print mode, Hex Decimal Width Height