Download Print this page

Star Micronics 10X User Manual page 125

Advertisement

• •
• •
• •
• •
• •
• •
• •
• •
• •
• •
• •
Downloadable and Custom Commands
After defining a download character, we must activate the
download characters in the printer. The code to perform this trick
is:
CHR$(27) CHR$(36) CHR$(1)
let's put all this together in an example and print out a few
of our new paragraph symbols.
:0
PE~
Define the Esca:e character
20
ESC$:CHRf(:'!~
:0
~E~
Del!ne
oaragra~h
svmbol
!"
oll:e cf
@
4~
LPR!NT
ESC*:C~R.!4=IICMRIIII:CHRtI64!:CHR'(O!:CMRS(61:CHR.!9:ICH~S(OI:
:HRSI9!:CHR$(11S):CHPSI9):CHR$(O):CHRS(lZ7):CHRSIC):
~O
REM Se!e:t downloadable
chara::e~s
60 LPR!N:
ESC$:CHRf(36):CH~$(!!:
70
~E~
~rint OU~
"'W
svmbo:
Figure
8-2.
Program listing to print:
II
cq
' 1 .\ '1'J.~
' : ' i
l
Not too bad for the first try. Let's create another symbol to
keep the editors happy and to demonstrate a few more things
you'll need to know about downloadable characters. This time we
will create the copyright symbol; a small c with a circle around it.
First, we'll create the symbol on graph paper and total all the col-
umns as we did for the paragraph symbols.
1 H:..f!I9------r-T----l~iiid---t
21=!-""9---t:;;d----t::;;d--r"""+=t
4~--t.=t'=t---+"'T-+-~
8~----f~-+-+...-I-+--I%I
16
32~~-+~d-4=~~
64~~~~~~~~
283473206520653428
Figure 8-3. Downloadable design for copyright symbol.
117

Advertisement

loading

This manual is also suitable for:

15xGemini-10xGemini-15x