Star Micronics NX-15 Printer User Manual


 
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
20 LPRINT
30 LF’RINT
40 LPRINT
50 LPRINT
It should
of under 1in ing
CHR$(27) ;“-l”;
“This phrase is
CHR$(27) ;“-O”;
this is not. ”
come out like this:
UNDERLINED;;