Star Micronics SR-10/I5 user manual In this program, line 20 selects NLQ characters with the

Models: SR-10/I5

1 130
Download 130 pages 19.46 Kb
Page 46
Image 46
In this program, line 20 selects NLQ characters with the

18'Demo near letter quality character set.

24)LPRINT CHR$(27) "B" CHR$(4) ; 'Select NLQ.

30 LPRINT "This line shows NEAR LETTER QUALITY!" 40 LPRINT CHRS(27) "B" CHR$(5) ; 'Select draft. 50 LPRINT "This line shows standard Drint."

In this program, line 20 selects NLQ characters with the

<ESC > “B” CHR$(4) command. Line 30 prints a sample before line40 switchs SR-lo/15 back to draft printing with an < ESC > “B” CHR$(S). When you run the program you should get this:

This line shows NEAR LETTER QUALITY! This, 1ine shows c,tandat-dprint .

If you are using with the IBM mode, change the following lines to the program given above.

20 LPRINT CHR$(27) "4" ; 'Select NLQ.

44)LPRINT CHR$(27) "5" ; 'Select draft.

Table 5-1

Near letter quality commands

H Italic printing

Italic letters are letters that are slanted to the right. SR-lo/15 can print all of its letters except NLQ characters in italic as well as the roman (standerd) letters you are accustomed to. Italics can be used to give extra emphasis to certain words. The corn- mand codes to turn italic on and off are shown in Table 5-2.

 

Table

5-2

 

Italic commands

Function

Mode

Control code

ItalicON

STAR

<ESC > “4”

 

IBM

< ESC > “I”1

ItalicOFF

STAR

< ESC > “5”

 

IBM

< ESC > “I”0

Use this program with STAR mode to see italic characters:

36

Page 46
Image 46
Star Micronics SR-10/I5 user manual In this program, line 20 selects NLQ characters with the