Star Micronics Radix User Manual page 133

Table of Contents

Advertisement

.
'&
-.
I
.
. .
.
Creating Your Own Characters
119
CHR$(27) CHR$(42) CHR$(l)
CHR$(43) CHR$(ll)
Escape
l
1
n,
n2
CHR$(24) CHR$i(36) CHR$(90) CHR$(36) CHR$@O) CHR$(36)
M,
4
MS
M,
MS
MS
CHR$@O) CHR$(36) CHR$(24) CHR$(O) CHR!$(O)
M,
MS
MS
Ml,
Ml
Figure 11-11. 'This is the complete command to send our bullet character to the
Radix printer.
18 'Downloads symbols.
2/a OPEN "LPTl:" AS #l : WIDTH #1,255
39
FOR I = 1 TO
3
'Do three character downloads.
4g PRINT #l,CHR$(27) "*" CHR$(l) ; 'Begin char download.
59 READ
Nl$,N2
69
PRINT #l,Nl$ CHR$(N2) ; 'Send char code, and
attribute.
79 FOR
M
= 1 TO 11 'Send 11 bytes of download per char.
8@ READ D
99 PRINT #l,CHR$(D) ;
199 NEXT M
lla NEXT I
129 CLOSE #l
139
LPRINT
14$
DATA "+",11,24,36,9j'J,36,99,36,99,36,24,9,9
159 DATA "9",11,92,34,9,81,8,69,9,34,29,9,9
169 DATA "#",11,127,~,~,127,~,68,~,68,56,~,~
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 three characters to the Radix.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Radix and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents