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) Developers

Topic: Limiting Print Jobs from Acrobat Reader
Conf: (P-PDF) Developers, Msg: 54527
From: Clifton
Date: 5/29/2002 05:06 PM

I suppose this is really a 2-pronged question. Here's the main idea:

I need to prevent users of Acrobat Reader from accidentally printing a full document, i.e. hitting the print button, or using File->Print and just hitting enter, etc. The document may be thousands of pages, which is not a good thing to print to a shared printer needed by multiple users.

Question: HOW?

I've looked at 3 different approaches:

1) Use the notifications in the SDK to detect an outgoing print job, then give the opportunity to kill it if it's too big. Got the notification... how do I kill the print job? Adobe Dev. Supp. says "it's not in the SDK", so I would need to call an external application to kill an outgoing print job.

2) Alter the Print dialog so that "Print All" is not the default option.

3) Replace the Print dialog with my own version. This is really not the most attractive option, but whatever is necessary...

So here's the challenge... (trumpets blare)
How do I call an external function via Acrobat SDK?
How do I kill a print job in Windows with a program?
How would I do that same task in Unix?
How (if) could I affect the Print dialog's default options?
How (if) could I create my own Print dialog?

I think 2 and 3 may already exist somewhere, and possibly there is sample code, if anyone knows where. I have been unable to find any coding help in the Acrobat SDK, and the useful samples and and programming examples are minimal at best. At this point, I would go in any direction suggested to complete this task.

Thanks for any help (I know this is a big post), and I look forward to sorting through re-statements, detail requests, and code samples if anyone can assist me.

Clifton Cline
DocuCentric Corporation

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

Five visions of a PDF Day

In the world of PDFs or as we like to say Planet (of) PDF, a year isn't a real PDF year without an intense few days of industry knowledge sharing.

May 15, 2018
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.