PPRuNe Forums - View Single Post - Printing Contents of File?
View Single Post
Old 9th October 2000 | 23:10
  #9 (permalink)  
MAX REVERSE
Guest
 
Posts: n/a
Talking

Thanks 400Hz, I thought I'd explained it OK, but obviously not!

the prn command should work. As 400Hz pointed out, you need to be in the directory concerned, using the cd command as I said. When you're there, type:

dir>prn

which will send the directory listing to your printer. Note that 'dir' is actually a command to list the contents of a directory - I wasn't using it as shorthand for "your directory name" as you seemed to think.

Just so you know what's going on, dir lists the contents of a directory. Used on its own, it lists the current directory (if you add the pathname of the desired directory after the dir command you can list other directories without having to cd to that directory first). The '>' symbol redirects the output of the preceding command. Instead of the output going to the default destination (screen) it is sent to device prn, which is DOS shorthand for the printer port.

Sorry if I confused you.

This is obviously the PC version of a generation gap - those who are so ancient that they know how to use DOS vs. these young whippersnappers who think that the only people who do that are the homeless.