Function
Double-strike ON
Mode Control code
STAR <ESC> “G”
IBM <ESC> “G”
the characters twice, but they use slightly different methods to
darken the characters. Let’s try them and see what the difference
is.
The following table shows the control codes for getting into
and out of double-strike and emphasized modes.
Table 5-7
Print emphasis commands
Double-strike OFF
Emphasized ON
STAR <ESC > “H”
IBM < ESC > “H”
STAR <ESC> “E”
l1~h4 I <Esc> "E" I
Emphasized OFF STAR <ESC> “I?
IBM <ESC> “F”
Try them now with this little program:
10 'Demo double-strike and emphasized.
20 LPRINT CHR$(27) "G" ; 'Double strike on.
30 LPRINT "This line is DOUBLE-STRIKE printing."
40 LPRINT CHR$(27) "E" ; 'Emphasized on.
50 LPRINT "This line is DOUBLE-STRIKE and EMPHASIZED."
60 LPRINT CHR$(27) "H" ; 'Double strike off.
70 LPRINT "This line is EMPHASIZED printing."
84) LPRINT CHR$(27) "F" ; 'Emphasized off.
90 LPRINT "This line is normal printing."
Run this program. The results will look like this: .-_
This line is DOUBLE-STRIKE printing.
Thim llnm im DOUBLE-STRIKE and EMPHASIZED,
This line is EMPHASIZED printing.
Thirs 3.ine is normal printing.
Line 20 turns on double-strike 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 double-strike and
emphasized. Line 60 then turns double-strike off with < ESC >
“H” so that line 70 can print in emphasized only. Finally, line
45