Initializing the Download Area

Use the following command to initialize the download areas to the resident fonts:

<x

1B3D - download command prefix

0000 - byte count when zero causes initialization of download area

>

Downloading a Draft/NLQ Character Set

The sequence to download characters for Draft/NLQ and Fast Draft is shown below:

Syntax:

ESC

=

count1 count2

font id

start

Decimal:

27

61

count1 count2

20

start

Hex:

1B

3D

count1 count2

14

start

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).

110

Section 7: Downloading Characters and Fonts

Page 110
Image 110
Lexmark 249X, 248X manual 110, Initializing the Download Area, Downloading a Draft/NLQ Character Set