Epson GX-80 Operating Manual page 26

Table of Contents

Advertisement

Underline Mode
The GX-80 also has a mode that will underline characters and
spaces. You turn it on with <ESC> -1 and off with <ESC> -0.
Note that the underline code is like the enlarged code in that it uses
a character, in this case the hyphen or minus sign, combined with
the numerical character 1 to turn it on and a character combined
with the numerical character O to turn it off. As you can see in
Figure 6-4, this mode prints a dot in the bottom row of each column,
thus producing a continuous underline.
-
-
1 •
II
1 •
•1
1 •
. . .
-
1•
-
. . .
-
1•1
I
I
,
. .
••
1 •
Figure 6-4. The underline mode
As shown in Figure 6-4, the underline mode is continuous, but some
word processing and other applications programs produce an under-
line that leaves spaces between characters as demonstrated in the
printout below.
Thi s_uses_ the_under·l i
ne_character.
If the software prints this type of underline, it is using the GX-80's
underline character (ASCII 95), not the underline mode. Because
the underline character is only five dots wide, it does not fill the
spaces between characters. If you prefer a continuous underline,
you may be able to use the underline mode through one of the
methods we discussed in Chapter 4.
42
Master Select
The GX-80 has a special <ESC> code called Master Select that
allows you to choose any possible combination of eight different
modes: pica, elite, condensed, emphasized, double-strike, enlarged,
italic and underline. The format of the Master Select code is
'
<ESC> ! followed by a number that is calculated by adding
together the values of the modes listed below:
underline
128
italic
64
enlarged
32
double-strike
16
emphasized
8
condensed
4
elite
1
pica
O
For any combination, just add up the values of each of the modes
you ·want and use the total as the number after <ESC> ! . For
example, to calculate the code for enlarged italic underlined pica,
add the following numbers together:
underline
128
italic
64
enlarged
32
pica
0
224
To print this combination, therefore, you use <ESC>
!
followed by
the number 224. The command is:
20 PRINT CHR$(27);"!";CHR$ (224);
To try this or any other number, enter and run this short program,
which will ask you for a Master Select number and then give you a
sample of printing using that code.
10
INPUT "Master Select number" . : M
15 PRINT CHR$(4)"PR#l"
20 PRINT CHR$(27)"!"CHR$(M);
30 PRINT "This sample of printing uses
40 PRINT "Master Select number ";M
50 PRINT CHR$(27)"@"
55 PRINT CHR$(4)"PR#0"
43

Advertisement

Table of Contents
loading

Table of Contents