[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Apple IIe printing



On 16 Jul 1998 13:13:56 GMT, Miroslav Ostric
<ut40@ab292.rz.uni-karlsruhe.de> wrote:

|>I tried in AppleSoft to print text via pr#6, but it prints also the 
|>linenumber of the BASIC-program which actually runs. For example:
|>10 ?#6:?"hello"
|>On the screen and on paper it prints: [10] hello

that's interesting.  certainly not what i would have expected...

|>Can I avoid this effect? Must I adress the printerport directly with a POKE,
|>and when yes, what is the adress?

i THINK what you wanted would be something like this:

5 D$=CHR$(4)        : REM THIS IS USED FOR EXECUTING DOS COMAMANDS!
10 PRINT D$"PR#1" : REM I ALWAYS THOUGHT THAT #1 ENABLES THE PRINTER?
20 PRINT "HELLO"   : REM SAY 'HELLO' TO THE NICE PRINTER....  :)
30 PRINT D$"PR#0" : REM DISABLE THE PRINTER NOW THAT WE'RE DONE...
40 END                   : REM NOT NECESSARY, BUT A GOOD HABIT...

i know that it takes the "long way" for doing things, but i know it
works...  :)  you should be able to glean something useful from all
that....

|>Thank you for your help and sorry for my poor english.

don't sweat it.  your English is good enough to get the point
across...  (isn't that the point of a language?  <g>)

hope this helps...

---
William Smith
#include <disclaimer.h>
Remove the obvious when sending e-mail...

Bait: pyramid@ftc.gov  net-abuse@nocs.insp.irs.gov