Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

automating Print multi files (xls or doc)

Status
Not open for further replies.

123ASP

MIS
Nov 2, 2002
239
US
hi, I have a folder in c:\myfile\ which contains 3 excel files and 3 word doc.
Is there a code or command file that I can run to print all the content of myfile that has an extension .xls.
I tent to manually print each file. Some times I have over 30 xls files to be printed, so I have to click each file to print then, I know there should be a better way,
thanks for your help.
Al
 
Can you not select all the files, right click and select Print? It will print to the default printer.
 
The suggestion I was going to make, was made after I read the question and before I posted an answer.
 
I guess, I did not say what I need to accomplish, I know that I can right click the file and select print, but I do not want to do that, what I am looking for is to do something like this
for each file in the specific folder
print
next file

so if I have 50 pdf files, I can run the script from asp page and when I click a button, I will have all the pdf files printed, instead of going over every single pdf file to right click and select print.
thanks a gain for your help
Al
 
But, but, but..... you do not have to right click each file, you just need to select all of them in a folder and then right click to print all of them.
 
But...Ops, how stupid I am. You are right,
But :) you did not answer my question though...
I still need to run the print command from within asp file to run the print command to print all the reports in that specific folder.

Is there such a command ?
Al
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top