Star Micronics XB-2420 Printer User Manual


 
DOWNLOADCHARACTERCOMMANDS
Definedownloadcharacters
Mode ASCII
Decimal
Hexadecimal
<ESC>“&” cO> nl
27 38 0 nl
IB 26 00 nl
std. n2 mO ml m2
n2 mO
ml m2
n2 nil ml m2
d] d2 ... h
d] d2 ... h
dl d2 ... &
Definesone or morenew charactemand storesthemin RAM for
lateruse. EDS switchA-2 mustbe setto
“RAM DOWNLOAD”;oth-
erwise
RAMisusedasaninputbuffer,notdownloadingcharacters,
andthiscommandis ignored.
nl is the charactercodeofthefirstcharacterdefinedand n2 is the
charactercodeofthelastcharacterdefined.
n] mustbeequalto or
lessthann2.
Thedataforeachcharacterstartwiththreebytesspecifyingpropor-
tionalspacingattributes:thefirstbyte,
mO,specifies the leftofthe
charactec the secondbyte,ml, specifiesthe characterwidth;the
thirdbyte,m2,specifiestherightof thecharacter.
Thesevaluesmustnotexceedthefollowingmaximumlimits:
Charactermode
ml mo+
ml + m2
Draft
9
12
LQ pica 31
36
LQ elite
27
30
LQsemi-condensed
21
24
LQproportional
37
42
Draftsuper/subscript
7
12
LQsuper/subscript
19
36
LQprop.super/subscript
37
42
Nextcomesthedotdata.Normalcharacterheightis24dots,sothere
mustbe 3 x
ml bytesofdotdata.Iftheprinteris in super/subscript
mode,however,thecharacterheightis 16dots,sotheremustbe2x
ml bytesof dotdata.
Eachdatabyteindicateseightverticaldots,withthemostsignificant
bitbeingthetopdot,andtheleastsignificantbit beingthebottom
dot.
For furtherdetails,pleasereferto chapter8.
107