Star Micronics SB-10 Printer User Manual


 
NEW
10 LPRINT CHR$(27) CHR$(87) CHR$(l);
20 LPRINT “THIS LINE IS EXPANDED”
30 LPRINT CHR$(27) CHR$(87) CHR$(O);
40 LPRINT
“BUT THIS LINE IS NOT.”
Figure 6-1. A sample of expanded type.
As you can see, the command represented by the first statement,
CHR$(27) CHR$(87) CHR$(l), turns on the expanded print function;
the command represented by the third statement, CHR$(27) -
CHR$(87) CHR$(O), turns it off. All of your printer’s features can be
activated and canceled using CHR$ statements and the LPRINT
command.
By combining the expanded print feature with each of the three
pitches (pica, elite and condensed), you will be able to get three
different versions of expanded print in the draft-quality mode.
Table 6-7. Expanded print conversion chart.
PITCH
NORMAL
EXPANDED
Pica
10 cDi
5 cDi
I
Elite
12 CDi 6 cDi
I
1 Condensed
16.7 cDi
8.3 cDi
I
Emphasized and double-strike printing
Whenever you want something to really stand out on the page,
-
these are two good ways to do it. As we showed you earlier in the
book, your printer prints both emphasized and double-strike words
-
twice, but uses somewhat different methods for each. With em-
__
phasized print, the platen is moved just slightly for the second
printing, giving
the character a “shadow”
appearance.
Double-strike, you will remember, is done simply by printing the same
character over itself. Try this program to demonstrate the two styles
in BASIC:
NEW
IO LPRINT CHR$(27) CHR$(71);
‘SELECT DOUBLE-STRIKE
20 LPRINT
“THIS IS DOUBLE-STRIKE PRINTING”
30 LPRINT CHR$(27) CHR$(72);
‘CANCEL DOUBLE-STRIKE
-
-
-
48