Preparing For Take-Off; Barchart - Epson FX-80 User Manual

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

Advertisement

The programs are considerably longer than those in previous chap-
ters. If your typing fingers are sore, go in peace and save this chapter
for another day. But we do encourage you to try these programs for
two reasons. First, you'll have a chance to really test your understand-
ing of the FX-80 printer. Second, these longer programs show you
how truly versatile your printer can be.
Examine the programs at your leisure, and by all means enjoy using
them on your printer!
Preparing for Take-off
Load in the LINE program you saved at the end of Chapter 18. It
contains data for line graphics characters, several user-defined letters,
and a graphics logo. The first program in this chapter uses the line
graphics characters to print a sales chart. The second uses all three sets
of data to print a statement form.
Take a moment to look over the LINE program before we modify it.
Lines 100 through 160 handle the details of defining characters. Lines
900 to 1010 contain the data for the line graphics characters, and lines
1100 to 1170 hold the data for the user-defined letters. Lines 690 to 770
draw the logo from Chapter 12; lines 1200 to 1250 hold the data for
the logo.
Barchart
This program creates the barchart shown in Figure 19-1. It uses the
line graphics characters from the LINE program as well as three new
user-defined characters. The following lines must be altered:
1~~
LPRINT CHR$(27)"1";CHR$(27)"U1";
13~
LPRINT
CHR$(27)"&"CHR$(~)CHR$(94)CHR$(1~7);
135
I
Model I users see Appendix I
14~
FOR Y=l TO 14: LPRINT CHR$(139);
16~
NEXT Y: LPRINT CHR$(27)"C"CHR$(66);
Note: You may have to change line spacing to
<
ESC> "3" CHR$(20) to
avoid gaps in vertical spacing.
226

Advertisement

Table of Contents
loading

Table of Contents