AA
Here is what you should get:
In this program, line 20 turns italic on with (ESC) “4”, and line 40 turns italic off with (ESC) “5”.
Now, set the “Italic Panel” mode, as described in Chapter 3, then run the program again. You should get like this:
As you can see, this time the printer ignored the control codes to set or cancel italic characters.
H Underlining
Not only can your printer print all styles of printing in both reman and italic, but it can underline them too. The control codes are shown in Table
Table
Underline commands
It’s that simple. Let’s try it with this program:
10‘ Demo of under 1in ing
20 LPRINTCHR$(27) ;
30 LF’RINT“This phrase is UNDERLINED;“ ;
40LPRINTCHR$(27) ;
50LPRINT “ this is not. ”
It should come out like this: