40

printing, for it takes a keen eye to detect that it is from a dot matrix printer. Normally, your printer prints draft quality characters when the DIP switch 1-4 is set off. This is adequate for most work and it prints fastest. But for the final printout, try Letter Quality. The program below shows how.

10' Demo of LQ character set

20 LPRINT CHR$(27) ; "xl";

30 LPRINT "This line shows LETTER QUALITY!'*

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

50 LPRINT "This line shows standard print."

In this program, line 20 selects LQ characters with (ESC) “x”

1 command. Line 30 prints a sample before line 40 switches printer back to draft printing with an (ESC) “~“0. When you run the program you should get this:

This line shows LETTER QUALITY!

This line shows standard print.

 

 

Table

5-l

 

 

Letter quality commands

Function

 

Control code

Letter

quality

ON

(ESC) “~"1

Letter

quality

OFF

(ESC) “~"0

nCharacters in the Font Cartridge

This printer offers you the Prestige LQ characters as stand- ard. If you want to use other LQ character styles, use the op- tional font cartridges.

You can install those font cartridges following the procedures described in Chapter 1. You can control the characters in those font cartridges as shown below:

10 ’ Demo of optional characters

20 LPRINT CHR$(27):"xl";

30 LPRINT CHR$(27);"k";CHR$(l);

40 LPRINT "This line shows Font 1 characters."

50 LPRINT CHR$(27);"k";CHR$(2);

Page 48
Image 48
Star Micronics NB-15 user manual Lprint CHR$27 xl