I

Next, you must specify the left space and the last print column of the character.

Being able to specifythe width of the characterallowsyou to specifythe precise area insidethe grid that the characterwill occupy,so that narrow charactemwill look attractivenext to wide ones.

Acceptablevaluesfor the left spaceare Oto 7, andthelast printcolumnare from 4 to 11.

Our characterwill occupyfromcolumn1 to column 11,so the left spaceis Oand the characterwidthdata is 11.

Assigningthe characterdata

Now,we calculatetheverticalnumericalvaluesof thecolumnsof dots,and enterthemunderneaththe grid.For example,lookingat Figure5-3, we sec thatintheleft-mostcolumntherearefivedots,andtheyaresittingin the“64” box,“32’’box,“16”box,“8”box,and“4”box.Thusitsverticalvalueis 124. In the next column,there is no dot straddlingthe verticalline; its value is recordedas O.

ASCIIcode:

Descender: 7

Last column: 77

rrI() = Descender x Izx + (Left x 16)

+ Last

724 66 64 76 76 0

0 4 36 2 72

Figure 5-3.Add the values of the dots in each column and write the sum of each column at the bottom

You will see the lettersml, m2,m3,etc., are aboveyourvalues.Whenyou definethe character,you willsubstituteyourvaluefor each of theseletters.

83

Page 92
Image 92
Star Micronics LC-200 user manual Assigningthe characterdata