Print PDFs from Batch?

I've scoured the forum here looking for a way to do this.  So far, I haven't seen quite what I'm looking for.

I have a program that is automatically generating PDF files and spitting them out into the folder.  Once that process is finished, this program has the capability to call a batch file and do...whatever I want it to do.  What I am wanting it to do is to print the PDF file that was just created.

I tried to use the print command (print /d:\\server\printer "G:\path\PDF\*.pdf") but I keep getting errors that the paper size is invalid (I have set the printer default to 11x17, but it keeps corrupting it somehow using this process).  

I have Acrobat Pro 7 and am printing to a PS printer.

Thanks in advance.
LVL 1
Ziggie013Asked:
Who is Participating?
 
WelkinMazeCommented:
Hi,

Maybe this will help?
"C:\Program Files\Adobe\Acrobat 7.0\Reader\AcroRd32.exe" /p /h "G:\path\PDF\*.pdf"
0
 
Ziggie013Author Commented:
Perfect, you rock!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.