Lexmark 249X Printer User Manual


 
139
Section 7: Downloading Characters and Fonts
Creating the Lookup Table Data
Before downloading lookup table data or character data, make note of the fol-
lowing memory addresses.
The valid download address range for the 249x is x800C to xFFFF.
The ASCII character 0 lookup table addresses for the resident fonts are:
Draft (10 and 13 cpi) and Fast Draft (10 cpi) - x8011
10 cpi Letter Quality and Enhanced Letter Quality - x8912
— Proportional LQ and ELQ - x9213
— 12 cpi LQ and ELQ - x9B14
Download character data can start at an address greater than xA413
In this example, the inverted exclamation mark, ASCII character 173, is replaced
with the trademark symbol. Entry zero of the proportional table starts at x9213
and there are nine bytes per entry:
9 x 173 = 1557 = x615 (the offset into the table)
x615 + x9213 = x9828 (offset + character 0 lookup table address)
The address for the new lookup table entry for ASCII character 173 is
x9828.
Downloading the Lookup Table Data
Send the following lookup table example to the printer:
<x
1B3D - download command prefix - lookup table
data
0C00 - byte count (low byte first) - x000C,12
23 - font id for 249x printers
2898 - start address in Lookup Table (low byte
first) - x9828
A414 - start address of character data (high byte
first) - xA414
1E - number of stored columns
29 - number of printed columns - 1 (for last
blank column)
2E74300002 - compression mask
>