91

70 LPRINT CHR$(179);CHR$(32);CHR$(32);CHR$(32);

CHR$(32);CHR$(53);CHR$(l79)

80 LPRINT CHR$(192);CHR$(196);CHR$(l96);

CHR$(196);CHR$(196);CHR$(l96);CHR!§(217)

90 LPRINT CHR$(27);"7"

If you have a 7-bit interface, add the following lines to the program given above:

15 LPRINT CHR$(27);">";

95 LPRINT CHRs(27);"="

In this program, line 10 selects character set #2 so that all the graphics characters can be used (including the “club” symbol). Then lines 20- 80 print the 5 of clubs figure. Line 90 cancels character set #2 (which is 1:: same as selecting character set # 1).

Here is what this program prints:

___.....-- _.-i..

nInternational character sets

Your printer changes languages by changing 12 characters that are different in the different languages. These sets of character are called international character sets - and there are 11 sets in all. The control codes to select the international character sets ‘are given in Table 6-4.

Page 97
Image 97
Star Micronics NR-15, NR-10 user manual Lprint CHR$27 Lprint CHRs27=