Star Micronics Delta User Manual page 96

Star micronics printer user's manual
Table of Contents

Advertisement

-
84
Delta User's Manual
10 LPRINT CHR$(27) CHR$(36) CHR$(l)
20 FOR I=33 TO 126 : LPRINT CHR$(I); : NEXT I
30 FOR 1=16g TO 254 : LPRINT CHR$(I); : NEXT I
40 LPRINT
50 LPRINT CHR$(27) CHR$(36) CHR$(@
-.
-
Nope! Just four characters in the download set. This is incon-
venient 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, Delta won't even allow it. Standard
characters
and
.-
download characters cannot be mixed in a line. If you want to use
download
characters, the command
should appear at the begin-
ning of the line. All subsequent
characters
(even on following
lines) are printed with the download
set until you return to the
standard characters with an (ESC) "$" CHR$(O). (Note that the
(ESC) "$" CHR$(l) command can be in the middle of a line, and
that entire line will be printed with the download characters. Like-
wise, if you select the standard character set anywhere in a line,
the entire line will be printed with the standard characters. Con-
flicting commands
within a line can cause unpredictable
results.)
So does that mean that in order to print something meaning-
ful with our card suits we have to define an entire alphabet? Fear
not. The engineers at Star have made it an easy task to use mostly
standard characters with just a few special characters thrown in.
This command
copies all the characters from the standard char-
acter ROM into download RAM:
-
-
-
(ESC) "*" CHR$(@)
-
-
Since it will copy all characters into the 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 Delta:
-.
-
-
5 LPRINT CHR$(27) Ir*" CHR$(g)
-
Now try the download
printout
test program
again. Your
results should look like Figure 7-12. You probably noticed that our
_
-

Advertisement

Table of Contents
loading

Table of Contents