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 CHR$I Next