Esc [ i – Compuprint 4247-L03 Programmer Manua User Manual

Page 40

Advertising
background image

ESC [ I

Sets font and pitch of a character. (IBM 2391 + only)

ASCII Code

ESC [ I 2 0 m n

Hexadecimal Value

X'1B' X'5B' X'49' 02 00 m n

Decimal Value

27 91 73 2 0 m n

This command allows you to modify the character's font and style of pitch type.

The values 2 and 0 are constants. If font and pitch locks are active, this command is ignored. To select the
values for the variables m and n, which identify the pitch and the font type style to use, refer to the table
below.

1. Identify the type style (pitch and font) to use in the left column (pitch).

2. For the hexadecimal values of m and n, look across the row to the second column (Hex m n)

3. For the decimal values for m and n, look across the row to the third column (Decimal m n).

4. Substitute these values for m and n in the printer command syntax.

Pitch

Hexadecimal

Decimal

Dec. Value

m

n

m

n

(m x 256 + n)

Courier

10

X'00'

X'00B'

0

11

11

12

X'01'

X'EB'

1

235

491

15

X'01'

X'EC'

1

236

492

17

X'01'

X'ED'

1

237

493

20

X'01'

X'EE'

1

238

494

24

X'01'

X'1E'

1

30

286

Pitch

Hexadecimal

Decimal

Dec. Value

m

n

m

n

(m x 256 + n)

Gothic

10

X'00'

X'24'

0

36

36

12

X'01'

X'8F'

1

143

399

15

X'01'

X'8E'

1

236

398

17

X'01'

X'8D'

1

237

397

20

X'01'

X'8C'

1

238

396

24

X'01'

X'20'

1

30

288

PS

X'01'

X'AE'

1

174

174

Pitch

Hexadecimal

Decimal

Dec. Value

m

n

m

n

(m x 256 + n)

Script

10

X'01'

X'D4'

1

212

468

12

X'01'

X'D5'

1

213

469

15

X'01'

X'D6'

1

214

470

17

X'01'

X'D7'

1

215

471

24

Programmer Manual

Advertising