Star Micronics NB-15 user manual LPRINT 60 FOR I=160 TO 70 LPRINT CHR$I 80 NEXT 90 LPRINT

Models: NB-15

1 114
Download 114 pages 4.7 Kb
Page 108
Image 108
50 LPRINT

50 LPRINT

60 FOR I=160 TO 254

70LPRINT CHR$(I);

80NEXT I

90LPRINT

100LPRINT CHR$(27) ;“;%O”;CHR$(O)

110END

Nope! Just two characters in the download set. This is inconve- nient for a couple of reasons. First, every time you wanted to use a download character you would have to switch back and forth between character sets. Knowing that you wouldn’t want to do that, your printer won’t even allow it. So we have made it an easy task to use mostly standard characters with just a few special characters thrown in. This command copies all the

ASCII characters from the standard character ROM into download RAM:

(ESC) “:” CHR$(O) CHR$(O) CHR$(O)

Since it will copy all characters into download area, it will wipe out any characters that are already there. So it’s important to send this command to the printer before you send any download characters you want to define. With that in mind, add this line to the program we used to send the characters to your printer:

5LPRINTCHR$(27);“:*’;CHR$(O);CHR$(O);CHR$(O)

Now try the download printout test program again. Your results look like Figure 8-9.

Figure 8-9. Printoutofthedownloadcharacterset,intowhichall

theASCII characters have been copied, and the ( and = have been changed.

Page 108
Image 108
Star Micronics NB-15 user manual LPRINT 60 FOR I=160 TO 70 LPRINT CHR$I 80 NEXT 90 LPRINT