How the program works
Thisprogrambeginsbyassigningnumberofprintercommands toBASIC
stringvariables(lines1000to1100)You. canfindmostofthesecommands
nearthebeginningofchapter4.
TheWIDTH“LPT1:”255 statementin line 1120meansinfiniteline width. It preventsthe
Actualprintingbeginsin line 1130.Usingthe preassignedcommands,the programprints samplesof its differentfonts, followedby samplesof the print pitches,then somedoubleand
Next comes thecentralattractionof theprogram:a lineoftextprinted
fourteentimesinexpandingandcontractingloopstogiveabarreleffectThe. workisdonebyfourprintercommands:acommand settingtherightmargin (line1450);acenteringcommand (line1470);a command tovarytheline spacing(lines1490and 1540);and a command
Nexttheprogramreturnstonormalspacingandgivesademonstrationofthe
The row of telephonesymbolsin the next printedline is createdby down- loading two new character patterns, which are printed in place of the character“<” (character60). Detailscan be foundin Chapter5.
Thefinalpartoftheprogramusesdotgraphicstoprintan“M&W”logo.The dotpatternofthelogowasoriginallylaidouton graphpaper,thenconverted to the datain lines 3180to 4640 withthe help of a calculator.Eachnumber representseightverticaldots. (See “Graphicscommands”in Chapter4 for details.)
The patternis printedin three rows,each row is
108