Star Micronics XB-2425 Printer User Manual


 
Nowwe calculatetheverticalnumericalvaluesof thecolumnsofdots,and
enterthemunderneaththe grid.Each verticalcolumnis first dividedinto
threegroupsof eightdots.Eachgroupof eightdots is ~presentedby one
byte,whichconsistsof eightbits.
That’swherethenumbersdownthelefisideofthegridcomein.Noticethat
them is a numberfor eachrow of dots and that each numberis twicethe
numberbelowit.Bymakingthesenumberspowersof twowecantakeany
combinationof dotsin a verticalcolumnandassignthema uniquevalue.
Assigningthe Index Tabledata
UnlikedefiningintheStandardmode,youmustassigntheIndexTablewith
theIBMmode.
ThisIndexTableispreparedfortheinformationofeachchamcterattribute
data, such as charactertype (Normal24-dothigh, or 30-dothigh block
graphics),thedotpatterndatainthememory,andthecompressionmaskbit
data.
Eachcharacterrequires9 indextabledata.
Thefirstandthesecondbytes(ml andm2)indicatesthepositionofthefirst
dotpatterninthememory.ml isthehighorderbyte,andti istheloworder
byte.
Thethirdbyte,m.?,indicatesthecharactertypeandthedotpatterndatawidth
in thememory.
If the characteris normal,simply,enter the width of dot pattern in the
rriemory.If yourcharacteris block graptics, add 128to the widthof dot
patternin thememory.
Ourtelephonesymbolisnormalcharacterandthewidthofdotpatterninthe
memoryshouldbe 25,so thisvalueis 25.
The fourthbyte,
m4, indicatestheprintingattribute.
Thisbyteindicatesthecharacterwidthtobeprinted,andinformationof the
repetitiondotsforblockgraphicscharactem.
If yourcharacteris a
normal character,add 192to thecharacterwidth.
If yourcharacteris a blockcharacter,andit shouldbe printedaslinedraw
character,add64to thecharacterwidth.If theblockcharacterisnota line
drawcharacter,thisbyteshouldbethesameasthe characterwidth.
Ourtelephonesymbolisnormalpicacharacter,sothecharacterwidthis 35,
andthisbyteshouldbe227.
125