
47
|
| Table |
| Underline | and overline commands |
| Function | Control code |
Underline | ON | <ESC> |
Underline | OFF | <ESC> |
Overline | ON | < ESC > |
Overline | OFF | < ESC > “L” 0 |
It’s that simple. Let’s try it with this program:
10 ’ Demo of underlining and overlinins
20 LPRINT “Demo of “;
30 LPRINT CHR$(27) ;
40LPRINT “UNDERLINED” ;
50LPRINT CHR$(27) ;
60LPRINT ” and I’;
70LPRINT CHR$ (27) ;
80LPRINT “OVERLINED” ;
90LPRINT CHR$ (27) ;
100 LPRINT ” printing. ”
It should come out like this:
. In this program underline is turned on in line 30 with <ESC> “ - ” 1, and then off in line 50 with < ESC > “ - “0. The overline is turned on in line 70 with < ESC >
nSuperscripts and subscripts
Your printer can print in two different heights of characters. The smaller characters are called superscripts and subscripts