Epson GX-80 Operating Manual page 37

Table of Contents

Advertisement

64
Figure 8-3. Designing in different densities
As usual, this example is in BASIC, but you can send the code in
any programming language.
Even if you don't know which code your graphics program uses, a
little experimentation should tell you whether the reassigning code
can improve your graphics printouts.
-
• • •
-
-
-
-
-
•1
u
-
1•1
1•
-
I I
1•
II
-
1 •
-
- -
-
-
-
-
II
-
1 •
-
, .
II
1 •
65
Figure 8-4. Arrow design
After plotting all the dots as in Figure 8-4, calculate the numbers for
each pin pattern by dividing the design grid into separate print lines.
For the arrow design the grid was divided into three lines, each
seven dots high. Then each column was examined and the sums of
the pin values determined. This process for the first line is shown in
Figure 8-5. The pin values are on the left side and the sums are at
the bottom of each column.
If you have read the previous chapter you will see that designing
graphics is much like designing user-defined characters.
In this figure you can see the main rules for graphics design in � he
three densities. In single density, no dots can be placed on vertical
lines. In high-speed double density dots can be placed on vertical
lines but no dots can overlap. In low-speed double density, dots can
be placed on vertical lines and they can overlap.
Now look at the figure designed for high-speed double density. It
should point you in the right direction for your own designs.
Low-speed
Double
High-speed
Double
Single
u
II
-
-
1 •
1 • 1
1 •
-
Design Your Own Graphics
This section describes the development of a graphics program. The
example is not especially complicated, but it does include the same
steps you would use for a more complex figure so that you have the
basis for designing graphics on your GX-80.
Plan your figure with dots on graph paper but, before beginning to
place the dots, you should decide which graphics density you want.
Figure 8-3 shows the differences between the three most-used
graphics modes so that you can choose the one you want.
Reassigning Codes
The GX-80 has a graphics command that changes one graphics
mode to another. You can use it with many commercial graphics
software programs to change the density and shape of your print-
outs. The code is <ESC> ?s n, where s is one of the four alternate
graphics codes (K, L, Y, or Z) and n is the number of the new code
(0-6).
For example, if you send the following code before you run a
graphics program, it will change every instance of mode "Y" (high-
speed double-density) to mode 5 (one-to-one).
PRINT CHR$(27)"?Y"CHR$(5);

Advertisement

Table of Contents
loading

Table of Contents