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
115
Section 7: Downloading Characters and Fonts
Downloading an NLQ II Character Set
The 248x printers can download two sets of NLQ II characters. The first set is
initialized to a Courier-like font, and the second to a Courier italic-like font.
Since there are two download areas, you must use a Select Print Mode, ESC I,
before downloading to select between the two download areas. To select the
first area, use the ESC I x07 command. For the second download area, use the
ESC I x0F command.
Downloading NLQ II character set is performed using the ESC = command
similar to the Draft/NLQ download command.
Part One: Calculating Count 1, Count 2
Count 1, count 2 specify the number of bytes to be downloaded.
Font ID byte is the value assigned to identify the type of font data. The
ID for NLQ II is 21 (x15).
Start The start code is the ASCII value (code-point) for the first
downloaded character. It must be in the range of x00 to
xFF. You can start your downloaded character set at any
point in the character table. The download characters
replace normal characters starting at this code-point. For
example, to download a character set that replaces char-
acters starting with the uppercase letter ’A’, use a start
code- point equal to 65 (x41), ’A’. All character codes
within the same download command must be consecu-
tive from the start code-point.
Syntax: ESC = count1 count2 font id start
Decimal: 27 61 count1 count2 21 start
Hex: 1B 3D count1 count2 15 start