Printing Text With Delta | 35 |
This program is easy; line 10 turns italic on with (ESC) “4”, and line 30 turns it off with (ESC) “5”.
UnderJining
Not only can Delta print all the styles of printing that we have seen in both roman and italic, but it can underline them too. The control codes are shown in Table
| Table | |
| Underline | commands |
Function |
| Control code |
Underline | ON | (ESC) |
Underline | OFF | (ESC) |
Again, that’s simple. Let’s try it with this program:
NEW
18LPRINT CHR$(27)'-' CHR$(l);
2g LPRINT "THIS IS UNDERLINED"; 3@
It should come out like this:
TtiIS IS UNDERLINED AND THIS IS NOT
In this program underline is turned on in line 10 with (ESC)
“- ” CHR$(l), and then off in line 30 with (ESC) “
Superscripts and subscripts
We have seen how Delta can print in 6 different widths. Delta