Epson FX-286 User Manual page 82

Epson printer user's manual
Hide thumbs Also See for FX-286:
Table of Contents

Advertisement

If you run the program now, you'll see how one line of the pattern
looks:
To see how more than one line combines to form a figure, enter and
run the following program, which uses the lines you have already
typed and adds several more.
10 WIDTH "LPT1:",255
20 LPRINT CHR$(27)"A"CHR$(7)
30
FOR R=1 TO 3
40 LPRINT CHR$(27)"K"CHR$(100)CHR$(0);
50
x=1 TO 50: LPRINT CHR$(85)CHR$(42);
FOR
60 NEXT X: LPRINT
70 LPRINT CHR$(27)"K"CHR$(l00)CHR$(0);
80 FOR X=1 TO 50: LPRINT CHR$(42)CHR$(85);
90
x: LPRINT:
NEXT
100 LPRINT CHR$(27)"@"
If you're using the IBM Proprinter mode on the FX-286, add the
following line:
25 LPRINT CHR($)27"2"
Now run the program to see the six print lines combine into a pat-
tern:
Because the short and simple program that produced the pattern
demonstrates many elements of graphics programming, each line is
explained below.
Line 20 changes the line spacing to 7/72 of an inch, which is the
height of the dot patterns used in the program. Therefore, there is no
space between the print lines.
EXT R
N
6-7

Advertisement

Table of Contents
loading

Table of Contents