Set Font Global, ESC [I

You can vary the font and pitch type style within a file with this command. It can also be used to change the code page.

Syntax:

ESC

[

I

LnHn

HfLf

HsLs

Sm

HcLc

Decimal:

27

91

73

LnHn

HfLf

HsLs

Sm

HcLc

Hex:

1B

5B

49

LnHn

HfLf

HsLs

Sm

HcLc

ESC [I changes the font, pitch, and code page. It uses the following best-fit algorithm:

1Requested font, pitch, and code page.

2Requested pitch and code page, first font found.

3Requested code page, first font and pitch found.

4No change.

countlow (Ln): A 1-byte binary number that is the less significant byte of the 2- byte parameter count.

counthigh (Hn): The binary number that is the more significant byte of the 2- byte parameter count. Zero is a valid count.

fgidhigh (Hf): The binary number that is the more significant byte of the 2-byte font global ID.

fgidlow (Lf): The binary number that is the less significant byte of the 2-byte font global ID.

206 Section 9: Code Pages

Page 206
Image 206
Lexmark 249X, 248X manual Set Font Global, ESC