Ascii Characters In Escape Sequences; Summary - Epson FX-80 User Manual

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

Advertisement

ASCII Characters in ESCape Sequences
Since the FX-80 has so many features, remembering all of them by
number is not easy. Fortunately, there is another way to send the re-
quired codes to the printer.
In some cases it is convenient to use (inside the quotation marks) the
ASCII character that equates with a given code number instead of the
CHR$(n) format. A string character is shorter and easier to remember
than a number. For example, CHR$(64) can be replaced by "@". (If
you don't believe it, trot back to Appendix A and check it out.) So an
alternate way to send the Master Reset Code is to send the ESCape
code plus "@":
LPRINT CHR$(27)"@"
Using the"@" in place of CHR$(64) simplifies the process, and it's also
easier to remember. We will use symbols whenever possible to keep
the programs short. Change these lines in your current program:
1~
LPRINT CHR$(27)"4"
3~
LPRINT CHR$(27)"@"
and RUN it to make sure that both ESCape codes work as before.
In the next two chapters, you'll learn how to control print width
and print quality for all kinds of useful applications.
Summary
All printer commands stay active until they are turned off. (Well,
there are a few exceptions, but we'll cover them later.) You can turn off
all printer commands by turning the printer off or by sending the
Master Reset Code. In addition, each mode has its own reset code that
will turn off only that particular mode.
See Appendixes D and E for tables of the control codes.
32

Advertisement

Table of Contents
loading

Table of Contents