Technical data

Table Of Contents
Section 9: Code Pages
206
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.
ESC [I changes the font, pitch, and code page. It uses the following best-fit
algorithm:
1 Requested font, pitch, and code page.
2 Requested pitch and code page, first font found.
3 Requested code page, first font and pitch found.
4 No 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.
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