GS ! n

[Function]

Specifying the character size

 

 

 

[Code]

<1D>H<21>H<n>

 

 

 

[Range]

0

n

255, where:

 

 

 

 

1

vertical magnification 8, 1 horizontal magnification

8

[Outline]

Specifies the character size (Vertical and horizontal magnification).

 

 

 

 

 

 

 

 

 

 

 

 

Bit

Function

 

 

Value

 

 

 

Hex. Number

 

Decimal Number

 

 

 

 

 

 

 

 

 

 

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

Vertical magnification

Refer to Table 2, “Vertical

 

 

 

2

 

specification

Magnification”.

 

 

 

3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

4

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

5

 

Horizontal magnification

Refer to Table 1, “Horizontal

 

 

 

6

 

specification

Magnification”.

 

 

 

 

 

 

 

 

 

 

 

 

7

 

 

 

 

 

 

 

 

 

 

 

 

 

Table 1 Horizontal Magnification

Hex.

Decimal

Magnification

00

0

1 (Standard)

10

16

2 (Double width)

 

 

 

20

32

3

30

48

4

40

64

5

50

80

6

60

96

7

70

112

8

Table 2 Vertical Magnification

Hex.

Decimal

Magnification

00

0

1 (Standard)

01

1

2 (Double )

 

 

 

02

2

3

03

3

4

04

4

5

05

5

6

06

6

7

07

7

8

[Caution]

This command is valid for all characters (alphanumeric, kana, and kanji) except for

 

 

HRI characters.

 

• This command is ignored if either the vertical magnification or horizontal

 

 

magnification is out of the defined range.

 

In STANDARD MODE, the vertical direction is defined as the paper feed direction,

 

 

and the horizontal direction is defined as the direction perpendicular to the paper

 

 

feed.

 

• Setting memory SW 3-7 to ON allows the horizontal and vertical relations to be

 

 

interchanged when 90°-right-turnning of character is specified.

 

• In PAGE MODE, the vertical direction means the top-bottom direction of each

 

 

character. The horizontal direction means the side-to-side direction of each

 

 

character. If characters of different vertical magnification are contained in a line,

 

 

the baseline of each character is lined up.

 

Horizontal and vertical magnification can also be specified/canceled by ESC ! but

 

 

the setting of command last processed is valid.

[Default]

n = 0

[See Also]

ESC !

— 28 —

Page 33
Image 33
Citizen CT-S300 manual GS ! n, Bit Function Value Hex. Number Decimal Number, Horizontal Magnification Hex Decimal