45

40 LPRINT CHR$(27);"xO";

50 LPRINT “This line shows standard print. ”

In this program, line 20 selects NLQ characters with < ESC > “x” 1 command. Line 30 prints a sample before line 40 switches printer back to draft printing with an < ESC > “x” 0. When you run the program you should get this:

This line shows NEAR LETTER QUALITY! -I-i-1j. 53 :1:i r-iES 5 t-i13PiI5. 5 t a I?cla IFcl 8,/_1.l-it Y

Now turn off the power switch. After you turn on the power switch while holding the Mode key down on the control panel, set the NLQ mode with the Mode key while in the Off Line mode. Then run the program again. You should get like this:

This line shows NEAR LETTER QUALITY!

This line shows standard print.

As you can see, now the printout only contains NLQ

characters. This is because we set the printer to the “Print Quality Panel” mode at power on, so the printer ignored the control codes to set or cancel NLQ characters. This is a very useful way to print NLQ characters if you are using a packaged software which does not support the NLQ character mode.

 

 

Table 4-l

 

 

 

Near

letter quality

commands

 

I

Function

I

Control code

I

Near

letter quality ON

< ESC > “x” 1

 

 

 

< ESC > “I” 2 (IBM-P mode only)

 

Near

letter quality OFF

< ESC > “x” 0

 

 

 

< ESC > “I” 0 (IBM-P mode only)

 

H Italic printing

Italic letters are letters that are slanted to the right. Your printer can print all of its letters in italic as well as the roman (standard) letters you are accustomed to. Italics can be used to give extra emphasis to certain words. The command codes to turn italic on and off are shown in Table 3-2.

Page 51
Image 51
Star Micronics ND-10/15 user manual ESC x ESC I 2 IBM-P mode only