I

DOWNLOAD CHARACTER COMMANDS

Define download characters

Mode

ASCII

 

 

 

Decimal

 

Hexadecimal

 

<ESC> “&” <O>

nl

 

27

38

0

n]

IB 26 00 nl

Std.

n2

mO ml

 

m2

n2

mO ml m2

n2 mo ml m2

 

dl

d2

..

&

dl

d2

... (ix

dl d2 . . dx

Definesone or more new charactersand stores them in RAM for later use. EDS switchA-2mustbe OFF;otherwiseRAMis used as an inputbuffer,not downloadingcharacters,and this commandis ignored.

nl is the charactercodeof the first characterdefinedand n2 is the charactercodeof the last characterdefined.nl mustbe equalto or less than n2.

Thedatafor eachcharacterstartwiththreebytesspecifyingpropor- tional spacingattributes:the first byte,mO,specifiesthe left of the character;the secondbyte, ml, specifiesthe characterwidth; the third byte, m2, specifiesthe right of the character.These values must not exceedthe followingmaximumlimits:

Charactermode

ml

mO+ ml + m2

Draft

9

12

,LQ pica

31

36

LQ elite

27

30

L~ semi-condensed

19

24

LQ proportional

37

3

42

Draft super/subscript

7

12

LQ sup;r/subscript-

19

36

LQ prop. super/subscriptI

37

42

Nextcomesthedotdata.Normalcharacterheightis24 dots,sothere mustbe 3 x ml bytesof dotdata. If the printeris in super/subscript mode,however,the characterheightis 16dots, so theremust be 2

xml bytes of dot data.

Each data byte indicateseightverticaldots, with the most signifi- cant bit being the top dot, and the least significantbit being the bottomdot.

For furtherdetails,pleaserefer to chapter5.

76

Page 85
Image 85
Star Micronics LC24-200 user manual Download Character Commands, Define download characters