Technical data
Table Of Contents
- Introduction
- Set Initial Conditions (SIC) Command
- IBM Emulation Mode Printer Commands
- Control Codes
- Escape Sequences
- Printer Command Parameters
- Command Structure
- Printer Command Quick Reference (IBM Emulation Mode)
- Selecting a Character Set
- Select Code Page
- Print From Code Page
- Download a Character Set
- Select Global Font
- Select Print Type Style
- Set Print Quality
- Graphics Print Modes
- Horizontal Movement
- Line Control
- Vertical Tabulation
- Line Spacing
- Set Top of Form and Page Length
- Printer Control
- Epson Emulation Mode Printer Commands
- OKI Microline Emulation Mode Printer Commands
- Using the Printer Interface
- Downloading Characters and Fonts
- Barcodes
- Code Pages
- Glossary
- Index
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