Define download characters

Mode ASCII

 

 

Decimal

Hexadecimal

<ESC> “=”

nl n2

“#”

27

61 nl

n2 35 IB 3D nl

nl

23

n3 n4

<O>

n5

&

n4

O ti

n3 n4

00 n.5

IBM

m2

m9

 

ml m2

... m9

ml m2 . . m9

ml

 

dl

d2 ““

... (ix

 

dl d2 ... C-LX

dl

d2 .

dx

Definesnew charactersand storesthemin RAMfor lateruse. EDS switchA-2mustbe OFFandthe optionalRAMcartridge,RC-32Z, must be installed;otherwiseRAM is used as an input buffer, not downloadingcharacters,and this commandis ignored.

DownloadingcharactersinIBMmoderequiresDotPatterndataand CharacterIndex Table data. Dot Pattern data controlswhich pins fire when printing a character. Index Table data is placed in a “lookuptable”thatprovidesinformationon whereDotPatterndata is storedin memoryand definescertainattributesof the character.

(d + n2 x 256) give the numberof bytesto be downloaded.

n3 and n4 indicatethe loworderandhighorderaddressesin which data is to be stored.n3 shouldbe 15 and n4 shouldbe 128for this printer.

ti determinesthe charactermode to be downloaded,as shown below:

rL5

Charactermode

Characterwidth

o

Draft

9

1

LQpica

35

2

LQproportional

17-41

3

LQelite

29

ml throughm9 indicateIndexTable data.

ml andm2indicatethe adresswhereDotPatternis stored.ml is the high-orderbyte.m3indicatesthenumberof columnsin the charac- ter memory, and m4 indicates the number of columns in the character.

ti through m9 are compressionmask bits. Data compression allowsthe efficientuse of memoryin storingdownloadedcharac- ters providingspace for more charactersthan would be available withoutcompression.The printerrepeatsthe previousdot column in the currentcolumnwhenthe currentcolumncompressionmask bit is set to 1.

Itisnecessaryto defineallofIndexTabledatabeforetheDotPattern data to downloadmany characters.

77

Page 86
Image 86
Star Micronics LC24-200 user manual Draft LQpica LQproportional