Summary - Epson FX Series User Manual

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

Advertisement

of line
is the number 4, and the symbol for the
10
number 5, so enter the following:
10 LPRINT CHR$(27)
LPRINT CHR$(27)"5";
30
Now use RUN to make sure that both ESCape sequences work as
before.
You can also shorten your programs by storing the ESCape code in
a character string. If you enter
program, you can simply enter A$ each time you want the ESCape
code. For example, the following lines produce
previous ones:
5 A$=CHR$(27)
10 LPRINT A$"4"
LPRINT A$"5";
30
This technique can help if you use the ESCape code frequently.
If you use a certain ESCape sequence often in a program, you can
store it in a character string as shown in this example:
5 B$=CHR$(27)+"&"
10 LPRINT B$
Note that in this case you must use a plus sign between the elements of
the ESCape sequence.

Summary

You use CHR$ to send numeric codes from BASIC, and you use
ESCape code, to earmark the printing or action to
CHR$(27), the
occur on
FX printer. You turn on
the
code and adding to it either the character-string command and an
appropriate FX control code or else the ASCII equivalent of the
trol code enclosed by quotation marks.
Nearly all printer modes stay active until they are turned off (we
cover the exceptions later). You can turn off one printer mode or set of
modes by shutting the printer off or by sending the Reset Code, either
of which resets the FX to its default modes. In addition, each mode
its own cancelling code that turns
You can delete all the text characters in the FX's buffer by using the
CANcel code or
Neither affects the control codes.
"4"
latest text character by using the DELete code.
the
in an early line of a
A$=CHR$(27)
the
FX mode by using
an
only
particular mode.
off
that
of line 30 is the
53
same results as the
ESCape
the
con-
has
47

Hide quick links:

Advertisement

Chapters

Table of Contents
loading

This manual is also suitable for:

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

Table of Contents