User's Manual ZA-200 / ZA-250
User's Manual ZA-200 / ZA-250
User's Manual ZA-200 / ZA-250
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
How theprogram works<br />
Thisprogrambeginsby assigninganumberofprintercommandstoBASIC<br />
stringvariables(lines1000to 1070).Youcanfmdmostofthesecommands<br />
nearthe beginningof chapter7.<br />
TheWIDTH“LPT1:“255statementinline 1090meansintlnitelinewidth.<br />
It preventsthe IBM-PCfrominsertingunwantedcarriagereturnsand line<br />
feedsin graphicsdata.<br />
Actualprintingbeginsin line 1100.Usingthe preassignedcommands,the<br />
pmgramprintssamplesofitsdiffemntfonts,followedbysarnplesoftheprint<br />
pitches,then somedoubleandquadruple-sizedprinting.<br />
Next comes the central attractionof the program: a line of text printed<br />
fourteentimesinexpandingandcontractingloopstogiveabarreleffect.The<br />
woxicisdonebyfourprintercommands:acommandsettingtherightmargin<br />
(line 1370);a centeringcommand(line 1390);a commandto varytheline<br />
spacing(l”mes1410and 1460);and a commandto micro-adjustthe space<br />
betweencharactem(lines 1420and 1470).<br />
Nexttheprogramreturnstonormalspacingandgivesademonstrationofthe<br />
printer’sword-processingabilities:italicprinting,boldprinting,underlining,subscripts,etc.<br />
Therowofcarsymbolsinthenextprintedlineiscreatedbydownloadingtwo<br />
new characterpatterns, which are printed in place of the character“