Printing The Figure (Phase Four) - Epson FX-80 User Manual

Hide thumbs Also See for FX-80:
Table of Contents

Advertisement

(ESC) ,,* "CHR$(5) is the one-to-one graphics density setting from
Chapter 13. Using it ensures that the figure prints a square image on
the paper.
Printing the Figure (Phase Four)
The groundwork is just about complete. Type:
23lil FOR K=l TO C
24lil IF A(K)=l THEN LPRINT CHR$(P);
25lil IF A(K)()l THEN LPRINT CHR$(Plil);
26lil NEXT K
27lil LPRINT
28lil NEXT PASS
This part of the program checks the array for ones and zeros.
If
it finds
a one, the pattern P is printed.
If
it finds anything else, PO is printed
(see Figure 16-4, above). Line 280 completes the PASS loop.
Check your listing against the listing of Figure 16-5 to make sure it's
all there:
189

Advertisement

Table of Contents
loading

Table of Contents