Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

AxAcroPDF.printAll() and WARNING!

770 views
Skip to first unread message

nano2k

unread,
Oct 16, 2008, 10:15:33 AM10/16/08
to
Hi

I'm using VS2005 (.net 2.0) to build a winforms app.
One of the forms displays a PDF file using the AxAcroPDF activex
(shipped with Acrobat Reader version 9.0.0).
After displying the document using LoadFile() method, I want to
automatically print the file using printAll() method.

I get a warning messaje saying: "WARNING! A script has requested to
print an Acrobat file. This could print an entire document. Do you
want to proceed printing?". I can dismiss the warning dialog box
checking "Do not show this message again".

This is a good decision, but is there a way to prevent this message?
I cannot rely on users to correctly dismiss the dialog box.

I found a solution fot Adobe Reader 7 as described here:

http://blog.jtbworld.com/2006/04/acropdfdll-fix-in-acrobat-reader-707.html

but it doesn't apply to Adobe Reader 9.

How to do it for version 9?

Thanks.

0 new messages