Allotments 4 All

General => Computers / Internet => Topic started by: Palustris on January 04, 2011, 10:54:05

Title: Printing a list of files
Post by: Palustris on January 04, 2011, 10:54:05
I have a large number of CD's of photographs. Have you ever tried printing the list which appears when you list them under Autoplay?  It seems it cannot be done. It used to be dead easy in DOS. Anyway for anyone trying to do it this is a very useful little application.
Karen's Directory Printer. Works in W7 too.
Found here.
http://www.karenware.com/powertools.html
Title: Re: Printing a list of files
Post by: Bugloss2009 on January 04, 2011, 12:24:42
blimey! I was just literally going to ask the same thing. only i'm on linux, though i could attach the hd to a windows pc....
Title: Re: Printing a list of files
Post by: Bugloss2009 on January 04, 2011, 12:28:27
Quote from: Bugloss2009 on January 04, 2011, 12:24:42
blimey! I was just literally going to ask the same thing. only i'm on linux, though i could attach the hd to a windows pc....

worked it out thanks
Title: Re: Printing a list of files
Post by: BarriedaleNick on January 04, 2011, 13:44:15
Quote from: Palustris on January 04, 2011, 10:54:05
It used to be dead easy in DOS.

You still have a command prompt in Win 7 - just type cmd in the run box and you have all the DOS you need!!
Still - seems to ba a handy little app!
Title: Re: Printing a list of files
Post by: Larkshall on January 04, 2011, 18:11:28
Quote from: Bugloss2009 on January 04, 2011, 12:24:42
blimey! I was just literally going to ask the same thing. only i'm on linux, though i could attach the hd to a windows pc....

It should be very easy with Linux. You download the CUPS PDF printer and install it (some versions have a print to file which will do the same job). Then send the page listing to CUPS PDF or print to file. You will then have either a .pdf file or postscript file, which can be printed in the normal way.
Title: Re: Printing a list of files
Post by: Bugloss2009 on January 04, 2011, 18:16:51
all I did was ls > print.txt, to give me a file "print.txt", The struggle was navigating directories with names with spaces  :)
Title: Re: Printing a list of files
Post by: Larkshall on January 05, 2011, 20:51:36
Quote from: Bugloss2009 on January 04, 2011, 18:16:51
The struggle was navigating directories with names with spaces  :)

Yes, I've had trouble with that before now, it's best to use _ or - instead of space. Another problem I've experienced is forgetting to name a .pdf file. Apparently if you don't name the file, it doesn't get saved. I did think it might be saved as just .pdf (otherwise as a hidden file beginning with . ) but it seems not.