Chapter 4 Configuring the Serial Matrix Emulation with Control Codes

Print Mode/Pitch Selection

ASCII Code ESC X mn

ESC [ n q

Hex Code

1B 58 mn

1B 5B n 71

Dec Code

27 88 mn

27 91 n 113

Purpose

Selects the print mode (Letter Gothic, Courier, or OCR) and

 

character pitch in characters per inch (cpi).

where:

In ESC X mn

 

 

m = Print Mode code

 

n = Pitch (cpi)

 

 

An asterisk (*) (hex 2A) may be substituted for m or n. Whenever

 

the asterisk replaces m or n, then its current value does not

 

change. Values other than those shown in Table 23 and Table

 

24 are ignored.

 

where:

In ESC[ n q

 

 

n = Print Mode/Pitch code (values other than those shown in

 

Table 22 are ignored.)

 

q = Command sequence terminator

NOTE: The print mode must be changed before the first printable symbol of a print line or the command sequence is deferred until the next line.

Comment Print mode and pitch can also be selected from the control panel. The print mode/pitch select control code from the host computer overrides the control panel print mode setting and the print mode and pitch selection are reflected on the message display.

A complete set of tables identifying pitch and dot densities for all print modes follows.

Table 22. Print Mode and Pitch (ESC[nq)

n

Print Mode and Pitch

 

 

 

 

1 (31)

Courier 10 cpi

2 (32)

Letter Gothic 10 cpi

3 (33)

Letter Gothic 12 cpi

4 (34)

Letter Gothic 12 cpi

5 (35)

Letter Gothic 13 cpi

 

 

104

Page 104
Image 104
IBM 4400 manual Ascii Code ESC X mn, Print Mode and Pitch ESCnq