Epson MX-70 Printer User Manual


 
Graphtrax II
100
DATA
4,4,4,4,4,61,71,70,60,4,4,4,4,4
110 DATA
72,79,89,107,77,73,127,89,73,79,73,73,73,73
120 DATA
16,112,54,17,81,17,126,16,48,80,16,16,16,16
TRS-80 Model I:
40 LPRINT CHR$ (27) “K”CHR$ (14) CHR$ (2) ;
and RUN.
Figure 5-3
How about that one, culture hounds? Here’s how it works:
Line 10 sets the line spacing for 7 pin graphics. The G clef is printed in
three lines.
Line 20 takes care of the looping.
Line 30 moves the figure away from the left margin.
Line 40 kicks the printer into graphics mode - 14 columns per line.
Lines 50-70 read each code from the DATA lines and send it to the printer.
The NEXT R in line 70 sends control back to line 20 to start the next line.
Line 80 returns the line spacing back to 6 lines per inch.
How’s that for a nifty tune?
Code Summary
ESC K Nl N2 - ENTERS GRAPHICS MODE. Nl and N2 DETERMINE
LENGTH OF GRAPHIC LINE.
0 <= Nl <= 255
O<=N2<=2
47