[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PRODOS - How to print a text file.
tfiske@qualcom.qualcomm.com (T.J. Fiske) writes:
> Hi Folks,
>
> I have been using my Apple ][+ lately, and have found some text
> files in PRODOS.... The problem is 99.9% of my disks are DOS 3.3
> Does anyone know how to print a text file out to the screen. I
> think this should be real easy... it's just been... 8 years!
>
> I need to be able to simple BASIC or small program that will just
> dump the text files.
>
> Any help would be appreciated.
>
> Thanks,
>
> -- T.J. Fiske
> Qualcomm Incorporated.
>
> tfiske@qualcomm.com
Well... assuming you can get to Basic with the prodos disks, do this:
10 D$=CHR$(4)
20 ?D$"OPEN filename"
30 ?D$"READ filename"
40 GET A$
50 ?A$;
60 GOTO 40
The program will keep going, even past the end. At the ] prompt, type
CLOSE after it says XXX error in YYY
Also, to send it to a printer, add:
15 ?D$"PR#s" where s is the slot of your printer.
Mail me if you need more help.
cc: e-mail
Fkarmali @Traider.ersys.edmonton.ab.ca -or- @ersys.edmonton.ab.ca
My quotation collection is 288 strong. Please e-mail me with more!
"Suicide (n.): What to do if Macs take over the world"