Author Topic: I have forgotten how to...  (Read 1462 times)

0 Members and 1 Guest are viewing this topic.

jonesy

  • SuperMod
  • Seagull
  • Posts: 15568
I have forgotten how to...
« on: February 14, 2005, 08:26:21 AM »
How do you print the contents of a dos window (or a folder list in an explorer window) to a network printer? It cant be print screen as the information is  too long and I have the scroll bars at the side of the window.  
Whats annoying me is I used to be able to do this, but the "little grey cells" have forgotten how

 :oops:
Thanks for explaining the word "many" to me, it means a lot.

Big G

  • Bull Frog
  • Posts: 415
I have forgotten how to...
« Reply #1 on: February 14, 2005, 09:05:25 AM »
@echo off
dir %1 /-p /o:gn > "%temp%\Listing"
start /w notepad /p "%temp%\Listing"
del "%temp%\Listing"
exit

copy and paste this into a txt file save it as print.bat drop it into the directory double click and youre away.

Ill look for the proper link to tell you how to add it into your 'right-click' in windows
I thought i seen the light at the end of the tunnel. But it was just someone with a torch bringing me more work.
"You have to accept that somedays youre the pigeon and  somedays youre the statue"

Big G

  • Bull Frog
  • Posts: 415
I have forgotten how to...
« Reply #2 on: February 14, 2005, 09:06:23 AM »
I thought i seen the light at the end of the tunnel. But it was just someone with a torch bringing me more work.
"You have to accept that somedays youre the pigeon and  somedays youre the statue"

pmvliet

  • Guest
I have forgotten how to...
« Reply #3 on: February 14, 2005, 09:31:26 AM »
you can use tree or dir *.
then >> "your printer name on the network"

you can also write it directly to a file with dir *. >> list.txt

sometime \\ instead of >>

many people forget about tree and it can be nice at times.
be carefuk though on a network especially with the /f option as it will give all the files as well.

Pieter

jonesy

  • SuperMod
  • Seagull
  • Posts: 15568
I have forgotten how to...
« Reply #4 on: February 14, 2005, 10:44:30 AM »
Quote from: pmvliet
you can use tree or dir *.
then >> "your printer name on the network"

you can also write it directly to a file with dir *. >> list.txt

sometime \\ instead of >>

many people forget about tree and it can be nice at times.
be carefuk though on a network especially with the /f option as it will give all the files as well.

Pieter


Thank you, that saved me loads of time.
Thanks for explaining the word "many" to me, it means a lot.