Star Micronics NB24-10/15 User Manual page 69

Signature series
Table of Contents

Advertisement

60
this: boldface and emphasized
print. Both of these go over the
characters
twice, but they use slightly different
methods
to
darken the characters.
Let's try them and see what the dif-
ference is.
The following table shows the control codes for getting into
and out of boldface and emphasized
modes.
Table 4-10
Print emphasis
commands
Try them now with this little program:
10 ' Demo of boldface
and
emphasized
20 LPRINT CHR$(27);"G";
30 LPRINT
"This
line
is
BOLDFACE printing."
40 LPRINT CHR$(27);"E";
50 LPRINT
"This
line
is
BOLDFACE and EMPHASIZED."
60 LPRINT CHR$(27);"H";
70 LPRINT
"This
line
is
EMPHASIZED printing."
80 LPRINT CHR$(27);"F";
90 LPRINT "This
line
is
normal
printing."
100 END
Run this program. The results will look like this:
This
line is BOLDFACE printing.
This
line
is
BOLDFACE
and
EMPHASIZED.
This
line
is EMPHASIZED
printing.
This
line
is
normal
printing.
Line 20 turns on boldface with (ESC) "G" and line 30 prints a
line of text. In line 40 emphasized
is turned on with (ESC) "E".
Line 50 prints a line of text in boldface and emphasized.
Line 60
then turns boldface off with (ESC) "H" so that line 70 can print
in emphasized
only. Finally, line 80 turns emphasized
off, so

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nb24-10Nb24-15

Table of Contents