Printing User-Defined Characters - Epson FX-80 User Manual

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

Advertisement

Printing User-Defined Characters
If you RUN the program at this point,
it
will define the character E
in RAM area 0 (assuming switch 1-4 is off), but only the ROM version
of the E will print. Try it. Add:
18~
LPRINT "EEEEE"
2~~
LPRINT CHR$(27)"@": STOP
EEEEE
Sure enough, the standard (Roman Pica) E is printed. To print your
newly defined character, you must tell the printer to ignore the ROM
and print only RAM characters. The format for this instruction is:
LPRINT CHR$(27) "%"CHR$(nJCHR$(n
2 ) ;
The
<
ESC) "
%"
sequence determines the currently active character
set. The n
1
selects either ROM
(0)
or RAM
(1),
while n
2
selects the area
(0
is the only area available). The command to activate the RAM area
is:
12~
LPRINT
CHR$(27)"%"CHR$(1)CHR$(~);
but before you print the user-defined E, make it more visible by
adding:
17~
LPRINT CHR$(27)"!8";
19~
LPRINT CHR$(27)"!@"
Line 170 uses the Master Select code to print Double-Strike, Ex-
panded, Emphasized Pica characters. Line 190 uses the Master Select
to return to Pica Mode.
Here are the new lines you've typed so far:
202

Advertisement

Table of Contents
loading

Table of Contents