7

Chapter 7 Print Control Codes

(11)Specifying the print mode all at once (ESC ! n)

Code: [1B] h + [21] h + n

*(0 n FF) Data are expressed in Hex code. This command specifies the print mode.

Each bit of n is as shown in the following table.

Bit

Function

 

Value

 

 

 

0

 

1

 

 

 

 

 

 

 

 

0

Character Font

Font A

 

Font B

 

 

 

 

 

1

Not defined

 

 

 

 

 

 

 

 

2

Not defined

 

 

 

 

 

 

 

 

3

Bold

Clear

 

Specify

 

 

 

 

 

4

Vertical double

Clear

 

Specify

enlargement

 

 

 

 

 

 

 

 

 

 

5

Horizontal double

Clear

 

Specify

enlargement

 

 

 

 

 

 

 

 

 

 

6

Not defined

 

 

 

 

 

 

 

 

7

Underline

Clear

 

Specify

 

 

 

 

 

If both vertical and horizontal double enlargement are specified at the same time, quadruple enlargement characters can be configured.

Underlines are applied to all the characters printed, but portions skipped with a horizontal tab (HT) and portions with characters which are rotated 90 degrees to the right are not underlined.

The underline width is the width set in ESC _ with no relation to the character size.

Mixed printing with double enlarged characters, and with characters of different sizes, is possible.

Character sizes can also be specified by GS !, but the command that is set last is the one that is valid.

The initial value is “n = 0”.

56

Page 66
Image 66
CBM America CBM-262 user manual Specifying the print mode all at once ESC ! n, Bit Function Value