Star Micronics XB-2425 Printer User Manual


 
ASCII Code:
L,(1 s0,,..
Character w((jlh
Rght space
Figure &2 TelephonesymbolwlmnofmelLU P@.
Assigninga valueof characterspace
Besidesbeingableto specifythe actualwidthof thecharacter,thisprinter
allowsyouto specifythe positionin the standardgrid wherethe character
willprint.Youmustspecifythedotcolumnin whichtheprintedcharacter
startsandthedotcolumnin whichthecharacterends.Why,youmay ask,
wouldyouwanttodefineacharacterthiswayinsteadofmerelydefting the
overallwidthofthecharacter?Becausethisprinter’sproportionalcharacter
definitionscan also be used to print normal width characters, and by
centeringeventhenarrowcharacteminthecompletegridtheywilllookgood
evenyouamnotprintingthemproportional.
Thethreebytesareusedto specifythewidthof thecharacterandthespace
tobeallowedoneithersideofit.Theleftspace(indotcolumns)is specified
bymOandtherightspaceisspecifiedbym2.Thesecondbyte(ml) specifies
thewidthofthecharacterindots.Byvaryingthewidthofthecharacteritself
andthespacesaroundit,youcanactuallycmateproportion~widthcharacters.