CHR$(12)
sends the paper to the top of the next form. It gives the
same result as the FF button so long as you end the line with a semi-
colon to prevent BASIC from adding a line feed to the LPRINT line.
Not-so-standard forms
The printer’s default length for a form feed is
11
inches. But what if
you decide to use a different form length, say 2 or
14
inches? The
printer has no way of measuring the length of your paper. You must
tell the FX about your shorter (or longer) form.
The CHR$(27) “C” command gives you two ways to change the
form length: by inches or by lines.
CHR$(27)“C”CHR$(0)CHR$(n)
Sets the form length to n
inches
(1-22)
CHR$(27)“C”CHR$(n)
Sets the form length to n
lines
(1-127)
CHR$(0) makes the difference between the two commands.
To see the first format in action, run the following program. Enter:
NEW
10 LPRINT CHR$(27)"C"CHR$(0)CHR$(2);
20
FOR X=1 TO
4
30
LPRINT "TWO-INCH FORM"CHR$(12);
40
NEXT X
50
LPRINT CHR$(27)"@"
CH$(27)“C” is the key. It changes the form length in the printer’s
memory so that the string TWO-INCH FORM is printed at the top of
each new form. It also resets the top of form to the current position of
the print head on the paper. It works just as if you’d turned the printer
off and on, but without the resetting of other defaults that happens
when you set the top of form by using CHR$(27)”@” or by cycling
power.
In the program above, line
10
uses the inches format to set the form
length to two inches. The CHRS(12) in line 30 activates the form feed
to move the paper to the top of the next two-inch form.
The second format-the one without CHR$(0)-sets the form
length by counting, in the current line spacing, the number of lines.
105
Summary of Contents for FX-80
Page 1: ......
Page 22: ......
Page 23: ......
Page 26: ......
Page 31: ...Figure 1 1 The FX 80 and FX 100 printers 14 ...
Page 32: ...Figure 1 2 Printer parts 1 5 ...
Page 38: ...Figure 1 8 DIP switch vent 21 ...
Page 42: ...Figure 1 11 Ribbon insertion 25 ...
Page 51: ...Figure 1 20 Paper thickness adjustment 34 ...
Page 85: ......
Page 92: ......
Page 95: ......
Page 97: ...80 ...
Page 109: ......
Page 117: ...Figure 7 3 Staggering STAIR STEPS 100 ...
Page 119: ...Table 7 1 Line spacing commands 102 ...
Page 129: ...112 ...
Page 147: ...130 ...
Page 181: ...Figure 12 4 Corner of the FX 80 design ...
Page 189: ...Figure 12 10 Most distinct version Figure 12 11 Reversed version 172 ...
Page 215: ...198 ...
Page 231: ...214 ...
Page 249: ......
Page 269: ......
Page 272: ...iv ...
Page 283: ......
Page 290: ......
Page 305: ...282 ...
Page 311: ...288 ...
Page 323: ...300 ...
Page 339: ......
Page 343: ...320 ...
Page 349: ...326 ...
Page 353: ...330 ...
Page 354: ...Schematic 331 ...