Epson GX-80 Operating Manual page 21

Table of Contents

Advertisement

In fact, bec � use of Epson's long-standing popularity, many prog-
rams are designed to use Epson printers as standard. Often all that
you need to do is specify in an installation program that you are
using an Epson printer. Then the program sends the correct codes
for th_ e vario � s printing functions. The installation process, if there is
one, is explamed in the manual for your software program.
The examples in this manual are in ProDOS BASIC, and you can
enter and run the programs as they appear in these pages.
In Chapter 3, Figure 3-2 showed the enlargements of the three
GX-80 pitches. Chapter 2 showed how to choose them with Selec-
Type. The rest of this chapter is concerned with changing the pitch
and setting NLQ characters under software control.
Pica Printing
� e first exercise is_ a si � ple three-line program to print a sample
line of characters in pica, the standard pitch. Just type in this
program:
5 PRINT CHR$(4)"PR#l"
30 FOR X=65 TO 105
40 PRINT CHR$(X);
50 NEXT X:PRINT
95 PRINT CHR$(4)"PR#0"
Now run the program. You should get the results you see below, 10
pica characters per inch.
(\HCDF:F:c1
i
T
.J
l<l ....
li!t-. . J (JF'()f�r;
Ti J'v' V J
::<
V
Z.
I \ ! ·'·
· db
c
d
('?+ q
hi.
32
Other Pitches
As explained in Chapter 3, the GX-80 uses the same pattern of dots
for pica, elite, and condensed characters, but it changes the horizon-
tal spaces between the dots to produce the three different widths.
In elite mode there are 12 characters per inch, and in condensed
there are 17.16. The GX-80 prints in elite when it receives the
<ESC> M command and prints in condensed when it receives the
ASCII 15 command. Print a sample line of elite characters by
adding this line to your previous program:
20 PRINT CBR${ 27) "M";
This line uses the command <ESC> M, to tum on elite mode.
Your printout should look like this:.
1�
BC DEFGH I ,J KLMNOF'QRS Tl.lVW X Y Z
C \
J · ' ·. '
ab c def
q
hi
Now add a line to the program to cancel elite with <ESC> P and
tum on condensed with ASCII 15:
30 PRINT CHR$(27) "P"CHR$(15);
Run the program to see the line printed in condensed mode.
ABCDEFGHIJKLMNOPQRSTUVWXYZ[\JA 'abcd�fghi
Cancelling Codes
As you saw in the third version of the print pitch program, you must
cancel a code when you do not want it any more. With very few
exceptions, the GX-80 modes stay on until they are cancelled. It is
important to remember this because an GX-80 mode can stay on
even if you change from BASIC to another type of software. For
example, if you print a memo with a word processing program after
you run the program above, the printer will still be in condensed
mode, and so the memo will be in condensed print. To cancel
condensed mode, use ASCII 18.
33

Advertisement

Table of Contents
loading

Table of Contents