Lexmark 249X Printer User Manual


 
129
Section 7: Downloading Characters and Fonts
Creating the Lookup Table Data
Before creating lookup table data, note the following memory addresses:
The valid download address range for the 249x is x800C to xFFFF.
The ASCI character 0 lookup table entry addresses for the resident fonts
are:
Draft (10 and 12 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 any address greater than xA413.
In the example for the ampersand (Draft), ASCII character 38 is replaced with
the ampersand (Fast Draft). Entry zero of the draft lookup table starts at x8011
and there are nine bytes per entry:
9 x 38 = 342 = x156 (the offset into the table)
x156 + x8011 = x8167 (offset + character lookup table address start)
The address for the new lookup table entry for ASCII character 38 is x8167.
Downloading the Lookup Table Data
Send the following lookup table information to the printer:
<x
1B3D - download command prefix
0C00 - byte count (low byte first) - x000C,12
23 - font ID byte for 249x printers
6781 - start address in Lookup Table - x8167
B000 - start address of character data (high byte
first) - xB000
08 - number of stored columns
09 - number of printed columns - 1 (for last
blank column)
0080000000 - compression mask
>