Not-So-Standard Forms - Epson FX Series User Manual

Fx series printer
Hide thumbs Also See for FX Series:
Table of Contents

Advertisement

sends the paper to the top of the next form. It gives the
CHR$(12)
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
you decide to use a different form length, say 2 or
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)
CHR$(27)"C"CHR$(n)
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
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
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.
Sets the form length to n inches
Sets the form length to n lines
4
uses the inches format to set the form
10
inches. But what if
11
14
(1-22)
(1-127)
inches? The
105

Hide quick links:

Advertisement

Chapters

Table of Contents
loading

This manual is also suitable for:

Fx-100Fx-80Fx-185 - impact printer

Table of Contents