Specific Reset Codes - Epson FX-80 User Manual

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

Advertisement

Add the CAN code to the end of line 20 above, print it to see how it
acts, and then restore the line.
Another code that deletes characters from the buffer is the DELete
code:
CHR$(127)
When placed in the buffer, DEL deletes only the previous text char-
acter. It does not affect control codes.
Specific reset codes
The FX-80 also provides specific codes to tum off each mode sepa-
rately. For example, an (ESC) CHR$(53) will turn off the italic charac-
ter set and leave everything else untouched. To see how the reset code
for italic characters works, change the Master Reset Code in line 30
above to an (ESC)CHR$(53):
3~
LPRINT CHR$(27)CHR$(53)
4~
LPRINT "BACK TO ROMAN WITH ITALIC OFF"
ITALIC CHARACTER SET!
BACK TO ROMAN WITH ITALIC OFF
You should get the same results as you did on the last RUN. What the
current program doesn't demonstrate is that the (ESC)CHR$(53) re-
sets only the Italic Mode, while the Master Reset Code resets all
modes. In the following pages, we give you each mode's particular
reset code as we cover that mode.
31

Advertisement

Table of Contents
loading

Table of Contents