Gemini Industries Printer Printer User Manual


 
Geminl User’s Manual
This time we will use the downloadable feature to replace the
@ symbol with the copyright symbol.
1’3 QE!! Defi:e 5ooyript rvnSc! :n o!ace of 9
40 LPRIN? ESC~ICHR~(~?!~CHQ~!~)~~~RO~$~!~CHR~(O!~~HR~~~~~I~~R~~?~~I~HQ~~?~!:
:HR~(??):CHR$(S~):CHR~(2O)rCHR~~6~)~C~R~(~4):CHR~(20)~
$0 RE!! Sc!ect donn!ordrS!e chrractcrs
SO LPR!N? ESCI:e~RI!36):eHP((!!:
70 QE!! Print our new svmbo:
30 LPRINT “Cowxght d 198:”
-
Figure 8-4. Program listing to print:
S
What happened? All we got was the copyright symbol and
nothing else. This happened because none of the other characters
in the download area (RAM) have been defined. So you need one
more command when you are only replacing a few characters at
a time:
CHR$(27) CHR$(42) CHR$(O)
This code copies all of the normal characters into the
downloadable area (RAM) of your printer. Let’s insert this into Ex-
ample 2 before we define our copyright symbol.
!E REI Dt!iv !!r Ef:ane :tara::r*
tC ESC$+CHRI(??)
74 42 33 :ba:a:ws tc RR!
.
2: LPRINT E9Cl:~H41!42):CHRS~O~:
30 RE!! Define :oovright tvmbo! ;E sla:e of 8
SO :PR!Hf ESC~:C~R~~42):CWR~(:!:CHR~(54):C~RS~C):~~R~
‘I2e):CHP)(‘QI:CHR((!!1:
b
I:CrQs!?C’I
~HRS~?~!:CHRe!5fi:CHRI(2b!:CWRI!!S!rCHS(!~4
Y RE?! Qe!ect ionn!sadable cfiariic:erc
$9 LPEIN? ESCI:CHRI!;S):C~~(!l!:
‘C FE!! ‘*:3t ;G: ies ~3~1
90 LPQINT “Co:v*ipb! e !?8!”
Figure 85. Program listing to print:
11 :‘; :: -i’ x.-’ .:. c;: L T:
. . . . -. ;- -:i
. . . ,. ‘. ::.I
-
118
Now things look a little more shipshape for the editors.
_