Planet PDF Forum Archive

Planet PDF ForumWowsers! This is page is old, head to the LIVE Planet PDF Forum. It features more than 10 conferences, covering everything from beginner to in-depth developer and pre-press discussions. If you wish to continue... one & two archive covers 1999-2011 (160,000 pages).

New Forum | Previous | Next | (P-PDF) Acrobat 6.0

Topic: Internet/Intranet PDF Batch Printing, 1 Attachments
Conf: (P-PDF) Acrobat 6.0, Msg: 110829
From: chicks
Date: 5/4/2004 04:00 AM

Attached file is installer and "c" source code for a very simple method to batch print PDF files over the internet or intranet. Dozens of files can be batch printed using Adobe Reader.

Requires Reader 6.x installed (Win2K, XP only) on the client side.

Clients simply download and run "setup.exe" from your server, which will install pdphelper, and associate the ".pdp" extension and mime type with pdphelper.

On the server side, simply create a ".pdp" file or stream, and set "Content Type" to "application/x-pdfprint". If serving from stream, make sure to create a dummy file name with ".pdp" extension.

The .pdp file requires two keys per line (see test.pdp):

PdpHelper will parse each line of the .pdp, download the PDF from the url, and launch Adobe Reader with the "print" or "printto" verbs. If the value after the "printer=" key is empty, it will print to the default printer.

A simple servlet doGet usage example:

public void doGet ( ... ) {

ByteArrayOutputStream myPdp;

// Build the .pdp stream here from user-selected files

// Let the browser know the content type

// Set a dummy file name
String pdpFileName = "pdpTest.pdp";
response.setHeader("Content-Disposition", "filename=\"" + pdpFileName + "\";

// Let the browser know the file's length

ServletOutputStream out = response.getOutputStream();



Click to open!PdpHelper(3).zip
(293,556 bytes)

PDF In-Depth Free Product Trials Ubiquitous PDF

Debenu Aerialist

The ultimate plug-in for Adobe Acrobat. Advanced splitting, merging, stamping, bookmarking, and link...

Download free demo

Debenu PDF Tools Pro

It's simple to use and will let you preview and edit PDF files, it's a Windows application that makes...

Download free demo

Back to the past, 15 years ago! Open Publish 2002

Looking back to 2002, it's amazing how much of the prediction became a reality. Take a read and see what you think!

September 14, 2017
Platinum Sponsor

Search Planet PDF
more searching options...
Planet PDF Newsletter
Most Popular Articles
Featured Product

Debenu PDF Aerialist

The ultimate plug-in for Adobe Acrobat. Advanced splitting, merging, stamping, bookmarking, and link control. Take Acrobat to the next level.


Adding a PDF Stamp Comment

OK, so you want to stamp your document. Maybe you need to give reviewers some advice about the document's status or sensitivity. This tip from author Ted Padova demonstrates how to add stamps with the Stamp Tool along with related comments.