Star Micronics Delta Printer User Manual


 
Creating Your Own Characters
83
100 LPRINT
110 DATA 72,11,4,10,20,10,52,72,52,10,20,10,4
120 DATA 83,11,16,8,20,8,86,41,86,8,20,8,16
130 DATA 67,11,8,16,8,18,65,62,65,18,8,16,8
140 DATA 68,11,8,0,28,0,62,65,62,0,28,0,8
When you run this program, it looks like nothing happens.
That’s OK. We’ll see why in just a moment. Save this program.
We’ll need it again shortly.
Printing Download Characters
You’ve now defined and sent four characters to the Delta. But
how do you know that? If you try printing those characters now
(type LPRINT “HCDS”) you don’t get a heart, club, diamond and
spade. Instead you get. . .
HCDS. That’s because the download
characters are stored in a different part of Delta’s memory. To tell
it to look in download character RAM instead of standard charac-
ter ROM it requires another command:
(ESC) ft$ll CHR$(n)
This command is used to select the download character set (if
n = 1) or to select the standard character set (if n = 0). Let’s try it
out. Enter this command:
LPRINT CHR$(27) "$" CHR$(l) "HCDS"
Voila! It should have printed out the four characters we
defined. Your printout should look like this:
(If it doesn’t, check the last program we ran for errors, then re-
run it.)
Let’s find out if there are any other characters in the
download RAM. Try this program: