Star Micronics NB-15 User Manual page 108

Star micronics printer user's manual
Table of Contents

Advertisement

50 LPRINT
60
FOR I=160 TO 254
70 LPRINT CHR$(I);
80
NEXT I
90 LPRINT
100 LPRINT CHR$(27) ;";%O";CHR$(O)
110 END
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:
5 LPRINT CHR$(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. Printout
of the download character
set, into which all
the
ASCII characters have been copied, and the ( and = have been
changed.

Advertisement

Table of Contents
loading

Table of Contents