Planet PDF Forum Archive

Planet PDF ForumThis is from our 160,000 page PDF discussion forum archive one & two spanning 1999-2011. Use the filters on our Advanced Search page to search archive only. 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.

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 12

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

Scanned documents to high-compressed PDF

Color scanning is state-of-the-art today. Scanner hardware can produce color scans with high-quality from small MFP scanners up to high-end production scanners.

April 11, 2016
Platinum Sponsor

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

Debenu PDF Aerialist 12

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.