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 7: Downloading Characters and Fonts
110
Initializing the Download Area
Use the following command to initialize the download areas to the resident
fonts:
Downloading a Draft/NLQ Character Set
The sequence to download characters for Draft/NLQ and Fast Draft is shown
below:
There are two parts of the ESC = escape sequence.
Part one includes count 1, count 2, font ID byte, and the start code. Use this
part once for each download command.
Part two is made up of one or more sequences of 13 bytes of data. The first two
bytes of data are the 2 attribute bytes, and the remaining 11 bytes (3 through 13)
are printable data. Repeat this part (2 attribute bytes plus 11 printable bytes) for
each character you download:
attr1 attr2 col1 col2 col3 ... col11
Part One: Calculating Count 1, Count 2
Count 1, count 2 is a two-byte integer value, starting with the low order
byte followed by the high order byte.
Font ID byte is 20 (x14) for the Draft/NLQ font.
Start The start code specifies the first download character. The
download characters replace normal characters starting
at that code point.
For example, to download a character set that replaces
characters starting with the uppercase letter ’A’, use a
start code of 65 (x41).
<x
1B3D - download command prefix
0000 - byte count when zero causes initialization of
download area
>
Syntax: ESC = count1 count2 font id start
Decimal: 27 61 count1 count2 20 start
Hex: 1B 3D count1 count2 14 start