[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: printing directory of files on disk
In Article <<3mq46k$66l@gap.cco.caltech.edu>>,
<nathan@cco.caltech.edu> wrote:
>In article <j-ferrie.11.0007F1F1@nwu.edu>,
>Joseph P. Ferrie <j-ferrie@nwu.edu> wrote:
>>I have a friend with a IIe who wants to know how to print the
>>directory of files on a diskette directly to the printer, or
>>alternatively, how to send the directory to a file and then print the
>>file. Any help would be appreciated.
>
> Pretty simple. Here's a quick program; it does require that the OS
>(Dos 3.3 or ProDOS) be activated:
>
>10 D$=CHR$(4):PRINT D$"PR#3":PRINT D$"PR#1"
>20 PRINT D$"CATALOG"
>30 PRINT D$"PR#3"
>40 END
I've also got a BASIC program that I types in from an old copy of Nibble
magazine that prints a well-formatted directory of the entire disk to either a
file(I think) or the printer. I've used it a couple times, and it works
great.
If anyone wants it, I'll post it to comp.binaries.apple2