Star Micronics SB-15 Printer User Manual


 
MAKING SD-IO/15 PRINT DARKER
SD-lo/l 5 has very good print density when it’s just printing
regularly. But sometimes you may want something to stand out
from the rest of the page.
SD- lo/15 provides two ways to do
this: double-strike 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 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
Function
Double-strike ON
Double-strike OFF
Emphasized ON
Emphasized OFF
Mode Control code
STAR <ESC> “G”
IBM
<ESC> “G”
STAR <ESC > “H”
IBM
< ESC > “H”
STAR <ESC> “E”
IBM
<ESC> “E”
STAR <ESC> “F”
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,
74) LPRINT "This line is EMPHASIZED printing."
80 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.
This line is DOUBLE-STRIKE and EMPHASIZED.
This line is EMPHASIZED printing.
This line is
riurmal printing.
45