MAKING SD-IO/15 PRINT DARKER
The following table shows the control codes for getting into and out of
|
| Table |
| |
| emphasis | commands |
| |
Function |
| Mode | Control code | |
ON | STAR | <ESC> | “G” | |
|
| IBM | <ESC> | “G” |
OFF | STAR | <ESC > | “H” | |
|
| IBM | < ESC > “H” | |
Emphasized | ON | STAR | <ESC> | “E” |
|
| IBM | <ESC> | “E” |
Emphasized | OFF | 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
40 LPRINT CHR$(27) "E" ; 'Emphasized on.
50 LPRINT "This line is
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
This line is
This line is riurmal printing.
45