Star Micronics LC-15 Printer User Manual


 
nl is thecharactercodeof thefirstcharacterdefinedandn2 is the
charactercodeofthelastcharacterdefined.nl andn2mustbothbe
between32 and 127or bothbe between 160and255.n] must be
equalto orlessthann2.Useof charactercodes32(space)and 127
(deletecode)shouldbe avoidedif possible.
Eachcharacters definedbyanattributebyte(mO)and11databytes
(ml, m2,..... roll).
Themostsignificantbit of theattributebyteis 1if the characteris
an ascender(positionedentirelyabovethe baseline)or Oif it is a
descender(descendingbelowthebaseline).Theattributebytealso
indicatestheamountofwhitespaceto theleftof thecharacter(Oto
7 dots,specifiedbybits4 to 6),andthewidthof thecharactercell,
includingthisspace(4to 15dots,specifiedby bitsOto 3).Theleft
spaceandcellwidthattributesareusedonlyinproportionalspacing.
Eachdatabyteindicateseightverticaldots,withtheMSBbeingthe
top dot andtheLSBthebottomdot.Thesecorrespondto pins 1to
8 or 2 to9 of theprinthead,dependingon whetherthecharacteris
an ascenderor descender.
For furtherdetails,pleasereferto the Chapter5.
DefineNLQ downloadcharacters
Mode
ASCII Decimal Hexadecimal
<ESC>“&”<O>nl 27 3S O d IB 26 W d
Both
d
MO ml @
d mO ml d
d d ml d
m3 ...
M46
m3 ... m46
d ... m46
DefinesoneormorenewNLQcharactersandstorestheminRAM
for later use. DIP switch 2-1 must be OFF. NLQ mode must be
selectedbeforethiscommandis executed.The parameter are the
sameas for thedraftdownloadcharactercommandexceptthatthe
attributebytespecifiesrightspaceinsteadofcharacterwidthandthe
dotdensityis doubledineachdirection,so eachcharacterconsists
of 16dotsverticallyand23dotshorizontallyandrequire 46data
bytes.Dotsdefinedbyml tom23areprintedonthefirstpassofthe
head.Dotsdefinedby m24to m46areprintedon the secondpass,
thepaperbeingscrolledup half a dotbetweenthe two passes.For
furtherdetails,pleasereferto theChapter5.
61