Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Print PDFs from Batch?

Posted on 2006-04-14
2
Medium Priority
?
450 Views
Last Modified: 2008-01-09
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.
0
Comment
Question by:Ziggie013
2 Comments
 
LVL 11

Accepted Solution

by:
WelkinMaze earned 2000 total points
ID: 16495520
Hi,

Maybe this will help?
"C:\Program Files\Adobe\Acrobat 7.0\Reader\AcroRd32.exe" /p /h "G:\path\PDF\*.pdf"
0
 
LVL 1

Author Comment

by:Ziggie013
ID: 16500081
Perfect, you rock!
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Update 21-May-2015: I temporarily removed the source code to make major changes to the program. Regards, Joe In a previous Experts Exchange article, How To Rename-Move a Batch of PDF Files Based on Contents of the Files (http://www.experts-exchan…
PDF files have been in the limelight due to its unmatched features.  Personal documents, emails, business reports and eBooks are all converted into PDF files owing to peerless features provided by it. Adding watermark to a PDF file is a method to se…
In this first video of the three-part Xpdf series, we introduce and describe Xpdf, a library containing nine command line utilities that perform various functions on PDF files. We show where the library is located and how to download it, discuss its…
In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
Suggested Courses

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question