Dot Matrix Printer User's Manual
I
Next, you must specify the left space and the last print column of the
character.
Beingableto specifythe widthof the characterallowsyouto specifythe
preciseareainsidethe grid that the characterwill occupy,so that narrow
charactemwilllook attractivenextto wideones.
AcceptablevaluesfortheleftspaceareOto7, andthelastprintcolumnare
from4 to 11.
Ourcharacterwilloccupyfromcolumn1to column11,so theleft spaceis
Oand the characterwidthdatais 11.
Assigningthe characterdata
Now,wecalculatetheverticalnumericalvaluesofthecolumnsof dots,and
enterthemunderneaththegrid.Forexample,lookingatFigure5-3,we sec
thatintheleft-mostcolumntherearefivedots,andtheyaresittinginthe“64”
box,“32’’box,“16”box,“8”box,and“4”box.Thusitsverticalvalueis 124.
In thenextcolumn,thereis no dot straddlingtheverticalline;its valueis
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
Youwillseethelettersml, m2,m3,etc., areaboveyourvalues.Whenyou
definethecharacter,youwillsubstituteyourvalueforeachoftheseletters.
83