Resetting Commands; The Master Reset Code - Epson FX-80 User Manual

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

Advertisement

Note: Some systems require semicolons between all codes as in:
LPRINT CHR$(27)jCHR$(52)
We include semicolons only when needed for clarity.
The FX-80 interprets the CHR$(27)CHR$(S2) sequence in line 10
above as a command to switch from roman to italic characters. The
LPRINT in line 20 sends a string of characters to the printer to verify
that the printer is in Italic Mode.
Now type:
LLIST
(or your system's version of LLIST)
to check the printer's.status. Since all characters are still printed in
italics, you can see that this mode stays on until it is turned off.
If your printer is printing one line on top of another or if it is double
spacing, you need to change the setting of the FX-80's internal switch
2-4 (see "Function switches" in Chapter 1).
Resetting Commands
There are several ways you can reset a command. You can get back
to square one by turning the printer off or using the Master Reset
Code; you may CANcel all of the text stored in the printer's memory
buffer without changing print modes; you may DELete the last text
character sent to the printer; or you may use a command to turn off a
specific mode. The next sections cover these various ways of telling
the printer that you've changed your mind.
The Master Reset Code
You could turn off the Italic Mode by turning the printer off, then
back on. Turning the printer off resets the printer to its start-up condi-
tion (Roman Mode). But cycling the printer off and on may disrupt
the computer/printer communications. You will most likely want to
find some other way to reset printer modes. The FX-80 has a Master
Reset Code for this very purpose: (ESC) CHR$(64).
28

Advertisement

Table of Contents
loading

Table of Contents