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 4-3.

Table 4-3

Underline commands

It’s that simple. Let’s try it with this program:

10‘ Demo of under 1in ing

20 LPRINTCHR$(27) ; “-l”;

30 LF’RINT“This phrase is UNDERLINED;“ ;

40LPRINTCHR$(27) ; “-O”;

50LPRINT “ this is not. ”

It should come out like this:

Page 52
Image 52
Star Micronics NX-15 user manual Underline commands