Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a folder with quite a few pdf reports in it that I would like to setup to print automatically using the Task Scheduler in Windows and command lines to open adobe, the specific files, and then print them all. The problem I keep running into is that when I just print it gives useless sheets of paper with garbage on them. If I open adobe, as stated above, then open the files and then print them, it will only open the first in the list when I use the *.pdf to indicate all pdf files. Even after closing that first one it won't open the subsequent ones. Any idea as to how to get it to open and print all of them?

Here is the current command line that I am attempting to use:

start acrord32.exe /n /t "H:\My Analyzer\PDF - Excel\Physician Monthly Reports\*.pdf"
share|improve this question
​lp -- *.pdf​ – Ignacio Vazquez-Abrams Oct 28 '10 at 18:39
up vote 1 down vote accepted

If you can print one using the command line parameters, then to print them all you create a batch file like

for %%f in (*.pdf) Do start acrord32.exe /n /t %%f

See here for more info on for

share|improve this answer
Thank you. This worked great!! – ThaddeusTG Oct 29 '10 at 1:16

This question over at Stack Overflow may help:

Adobe Reader Command Line Reference

Looks like for starters you need to pass the driver and portname to the /t switch.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .