Star Micronics NX-1001 manual Download Character Commands, ml, m2, ..... roll

Models: NX-1001

1 130
Download 130 pages 3.26 Kb
Page 70
Image 70
DOWNLOAD CHARACTER COMMANDS

DOWNLOAD CHARACTER COMMANDS

M

A

 

D

 

 

 

H

 

 

 

~

“ C n

27

38

0 d

 

IB

26 W n]

s

 

?

d

M

m

d

d

m

m m

 

 

m3 ... mll

 

d

...

m

 

d

... m

Definesone or more new draftcharactersand stem them in RAM for lateruse. DIP switch 1-2mustbe OFF;otherwiseRAM is used as an input buffer, not for downloadingcharacters,and this com- mandis ignored.Draftmodemustbe selectedbefotethiscommand is executed.

nl is the charactercodeof the first characterdefinedand ti is the charactercodeof the last characterdefined.nl mustbe equalto or lessthanti. Useofcharactercodes32(space)and 127(deletecode) shouldbe avoidedif possible.

Eachcharacters definedby anattributebyte(m(l)and 11databytes

(ml, m2, ..... roll).

The most significantbit of the attributebyte is 1if the characteris an ascender(positionedentirelyabovethe baseline)or Oif it is a descender(descendingbelowthe baseline).The attributebyte also indicatesthe amountof whitespaceto theleft of the character(Oto 7 dots, specifiedby bits 4 to 6), and the widthof the charactercell, includingthis space(4 to 15dots,specifiedby bits Oto 3). The left spaceandcellwidthattributesareusedonlyinproportionalspacing. Eachdatabyteindicateseightverticaldots,withtheMSBbeingthe top dot and the LSB the bottomdot. These correspondto pins 1 to 8 or 2 to 9 of theprint head,dependingon whetherthe characteris an ascenderor descender.

For furtherdetails,pleaserefer to the Chapter5.

61

Page 70
Image 70
Star Micronics NX-1001 manual Download Character Commands, ml, m2, ..... roll