Logout Developer Knowledgebase Search Adobe Partners Main Adobe Solution Partner Finder Adobe Solution Partner Program Support Developer Knowledgebase Adobe Solution Partner Program Products & Technology Adobe
Developer Knowledgebase

Knowledgebase HomeAcrobat KB

Overview
Software Development Kits
Developer Knowledgebase
Support
Legal Notices
Feedback
Adobe Solution Partner Program
Join
Find a Solution Partner

Product
Acrobat
 
Version
5.0, 5.05, 6.0, 7.0, 8.0, 9.0
 
Last Edited
27-Aug-2008
 
Document
51412

How To: Batch Printing PDF Files

Summary
Batch print PDF's via OLE automation, DDE command line parameters, or Apple Events

Issue
How do I batch print PDF files?

Solution
1.  Using OLE Automation, you can call the C and Visual Basic methods, AVDoc.PrintPages, AVDoc.PrintPagesEx, AVDoc.PrintPagesSilent, AVDoc.PrintPagesSilentEx. You can specify first page, last page, shrink to fit, and other options. Please refer to the Acrobat Interapplication Communication documentation athttp://livedocs.adobe.com/acrobat_sdk/9/Acrobat9_HTMLHelp/wwhelp/wwhimpl/js/html/wwhelp.htm?&accessible=true for more information.

2. DDE command line parameters

The DDE command line parameters for Acrobat and Reader are as follows. These are unsupported but have worked for some developers.

AcroRd32.exe /p filename - executes the Reader and prints a file
AcroRd32.exe /t path printername drivername portname - Initiates

Acrobat Reader, prints a file while suppressing the Acrobat print dialog box, then terminates Reader.

The four parameters of the /t option evaluate to path,printername, drivername, and portname (all strings).
printername - The name of your printer.
drivername - Your printer driver’s name. Whatever appears in the Driver Used box when you view your printer’s properties.
portname - The printer's port. portname cannot contain any "/" characters; if it does, output is routed to the default port for that printer.

Note: If using Acrobat, substitute Acrobat.exe in place of AcroRd32.exe in the command lines.

3.  Using Apple Events on the Mac, you can call the Print command. Please refer to the Acrobat Interapplication Communication documentation at http://livedocs.adobe.com/acrobat_sdk/9/Acrobat9_HTMLHelp/wwhelp/wwhimpl/js/html/wwhelp.htm?&accessible=true for more details.

back to top
Was this Knowledgebase document helpful? Yes  No
The articles in this knowledgebase are intended for use by software programmers currently using an Adobe SDK to extend or customize an Adobe product. These articles may be highly technical in nature.
If you have questions about an Adobe Product that are not related to development or an SDK product please visit: http://adobe.com/support/main.html
Copyright © Adobe Systems Incorporated. All rights reserved.
Terms of Use
Online Privacy Policy