[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PRODOS - How to print a text file.
>> I need to be able to simple BASIC or small program that will just
>> dump the text files.
>10 onerr goto 100
>20 input fn$
>30 ?chr$(4);"open ";fn$
>40 ?chr$(4);"read ";fn$
>50 input a$
>60 print a$
>70 goto 50
>100 ?chr$(4);"close"
You should switch to ProDOS and use ShoIt1.5 (now in cba2). It views
AND OR prints text files. If you want to PRINT the file to the printer
in the above program, TJ, just add lines 45 and 110.
45 ?chr$(4);"PR#1": rem replace 1 with whatever slot your printers in
110 ?chr$(4);"PR#0": rem turn off printer
merry chris......opps, wrong season. Apple II forever!
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |
| A watched download never downloads. E-Mail: |
| Your face causes too many CRC errors. fastjack@atlantis.cs.orst.edu |
|-----------------------------------------------------------------------------|
| Nirvana rulez! The Doors rule! Apple IIgs rulez! |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
--