Star Micronics LC-20 Printer User Manual


 
DOWNLOAD CHARACTER COMMANDS
Definedraft downloadcharacters
Mode ASCII
Decimal
Hexadecimal
cESC> “&” <O> n]
27 30 0 d
IB 26 W nl
. std.
d mO ml m2
n2 mO
ml d d mO ml m2
d ... mll
d ... mll d ... mll
DefinesoneormorenewdraftcharactersandstorestheminRAM
forlateruse.DIPswitch1-2mustbeOFF;otherwiseRAMisused
as an inputbuffer,not for downloadingcharacters,and this com-
mandisignored.Draftmodemustbeselectedbeforethiscommand
is executed.
nl is thecharactercodeof thefirst characterdefinedand n2 is the
charactercodeof thelastcharacterdefined.nl mustbe equalto or
lessthann2.Useofcharactercodes32(space)and127(deletecode)
shouldbe avoidedif possible.
Eachcharacters definedbyanattributebyte(mO)and11databytes
(ml, nd, ..... roll).
Themost significantbit of the attributebyteis 1if thecharacteris
an ascender(positionedentirelyabovethe baseline)or Oif it is a
descender(descendingbelowthebaseline).The attributebytealso
indicatestheamountofwhitespacetotheleftofthecharacter(Oto
7 dots,specifiedby bits4 to 6), andthewidthof thecharactercell,
includingthisspace(4 to 15dots,specifiedbybitsOto 3).Theleft
spaceandcellwidthattributesareusedonlyinproportionalspacing.
Eachdatabyteindicateseightverticaldots,withtheMSBbeingthe
top dot andtheLSBthebottomdot.Thesecorrespondto pins 1to
8 or 2 to9 oftheprinthead,dependingon whetherthecharacteris
an ascenderor descender.
For furtherdetails,pleasereferto the Chapter5.
61