Control Codes; Interpretation Of Ascii Codes - Epson FX-80 User Manual

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

Advertisement

and send out a CHR$(13) (carriage return) instead. Typical problem
codes include 0 and the numbers 9 to 13. Your computer manual may
alert you to these problems. Or experience may have to be your guide.
In
order to help systems which can't send a zero, several printers'
instruction sequences allow such options as using "0" (quote-zero-
quote) in place of CHR$(O). We'll be mentioning some of these prob-
lems and solutions throughout this User's Manual. Again, Appendix
H is intended to help you find and solve these inequities of working
with BASIC. Appendix I will help with specific problems on the sam-
ple programs.
Control codes
Enough talking about problems. Here's a program line for every-
one! Type:
1~
LPRINT CHR$(7)
(Be sure to use the appropriate printer access commands for your sys-
tem.)
Now RUN it! You should hear a short beep. That's the FX-80's bell
or buzzer. Certain codes, like CHR$(7), actually perform printer func-
tions rather than print a specific character. Table 2-3 shows a break-
down of the ASCII codes as interpreted by the FX-80.
Table 2·3.
FX·SO
Interpretation of ASCII Codes.
Code
FX·80 Interpretation
o
to 31,127
Printer control codes
32 to 126
Standard (roman) character set
128 to 159, 255
Additional printer control codes
160 to 254
Italic character set
See Appendix A for the entire ASCII chart of CHR$ codes.
This would be a good time to play with these codes on your own.
And you may want to take a break before you start the next section.
26

Advertisement

Table of Contents
loading

Table of Contents