Epson FX-80 User Manual page 124

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

Advertisement

tell the printer about your shorter (or longer) form. Here's one way to
change the form length (Figure 8-2 shows the RUN). Enter:
NEW
l!il LPRINT CHR$(27)"C"CHR$(!il)CHR$(2)
15 ' TRS-8!iJ Model I users see Appendix I
2!il FOR X=l TO
4
3!il LPRINT CHR$(12)"TWO-INCH FORM"
35 ' TRS uses CHR$(14!il)
4!il NEXT X
5!il LPRINT CHR$(27)"@"
H'JO·- I
r..,/CI···i F"OFWI
TWO ..... I
I\ICH F"OHM
Figure 8·2. Example of 2·inch spacing.
The (ESC) "C" is the key. It changes the form length in the printer's
memory and also resets the TOF to the current paper position (just as
if
you'd turned the printer off and on).
The printer gives us two ways to set the form length-by inches or
by number of lines. The two formats are:
(ESC) "C"CHR$(O)CHR$(n)
Sets the form length to n
inches
(ESC) "C"CHR$(n)
Sets the form length to n
lines
CHR$(O) makes the difference between the two commands.
In the program above, line 10 uses the first format to set the form
length to 2 inches; the allowable range is from 1 to 22 inches. The
CHR$(12) in line 30 activates the form feed to send the form to the top
93

Advertisement

Table of Contents
loading

Table of Contents