46

Table 4-2

Italic commands

Use this program to see italic characters:

10 ’ Demo of italic and roman

20 LPRINT CHR$(27) ; “4” ;

30 LPRINT “This line is in ITALIC characters.”

40 LPRINT CHR$(27) ; “5”;

50 LPRINT “This line is in ROMANcharacters. ”

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.

nUnderlining and Overlining

Not only can your printer print all styles of printing in both roman and italic, but it can underline and overline them too. The control codes are shown in Table 4-3.

Page 52
Image 52
Star Micronics ND-10/15 user manual Italic commands