Download Print this page

Epson MX-80 User Manual page 66

Hide thumbs Also See for MX-80:

Advertisement

Chapter 9
Routine again, but the amount of design work that went into the program is
obvious. The beauty of having this "generic" sort of program is that as long as
the general format is followed, big changes need to be made only in the
DATA lines, not in the program logic.
Only 2 more DATA lines to go. Type carefully:
1 3 0 DATA
1 5 1 , 1 3 9 , 1 3 5 , 1 4 , 1 3 1 , 1 7 5 , 1 9 1 , 1 3 5 , 6 , 1 3 1 , 1 7 1 , 0
1 4 0 DATA
1 4 1 , 2 5 , 1 4 0 , 1 4 2 , 0
Beautiful! Now all we need to do is put the Printer in the Wallbanger mode,
and make the printout darker. Add:
1 0 L P R I N T C H R $ ( 2 7 ) " E "
: ON ERROR GOTO 1 5 0
1 5 0 L P R I N T
C H R $ ( 2 7 ) " F "
and RUN.
PERFECTO! Nice crisp printing. When the DATA runs out, the line 10
ERROR trap sends us to line 150 which returns printing intensity to normal.
Some Final Thoughts
To quote from my earlier books and speeches, (why not — everyone else
does), "its use is limited only by your imagination".
This sample user program was intended to show how a custom letterhead can
be designed and printed. 'Tis a simple matter to print, leave the paper in place,
shift into a word processor program, and print the letter beneath it.
We placed the arbitrary cutoff number for graphics characters at a nice round
100 — for easy learning.
Almost every program is ultimately a custom program. The truly "universal"
program may NEVER exist. Have fun designing your own graphics.
68

Advertisement

loading