Epson FX-80 User Manual page 249

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

Advertisement

When you RUN it, you should see the prompt:
ENTER A STRING?
That's from line 100, of course. You can respond with any string of
letters, but for now type:
GO (ENTER) (don't type a space after the 0)
The next prompt on the screen is:
ENTER A MASTER PRINT MODE NUMBER?
For now, enter a 24. Remember, all codes from 0 to 255 produce a
combination of print modes, but there are only 16 unique combina-
tions. You may want to refer to one of the Master Select charts from
Chapter 5.
Press (ENTER) to stop the program.
Figure 18·4. Large G.
Gee, that's nice! The four characters defined in lines 270 to 300 com-
bine to print a large G. The 0 is printed as four small characters.
Figure 18-4 illustrates the way the program arranges the four versions
of each character to make one oversized letter.
Line 140 examines the
A$
string, character by character, and deter-
mines its ASCII value. Line 150 prints both upper- and lower-case
versions of each character on the first pass of the print head. On the
second pass, Y is set to 1 and 128 is added to A in line 140. Thus line
150 prints the italic versions of the character.
To get a better idea of what this program can do, you'll need to add
some more data. The DATA lines below supply data for the letters A-
M-E-S and for the space character. (It is necessary to redefine the space
character since two of its four components print as
@
signs.)
Be careful. Although the space character is user- definable, you
should avoid using it as anything other than a space character. No
matter how it is defined, the space character will never print at the
beginning or end of a line. That's fine for a space but if it's an impor-
tant letter or something . . . see the problem?
Enter the data lines as shown in Figure 18-5.
218

Advertisement

Table of Contents
loading

Table of Contents