AxAcroPDF.printAll() and WARNING!

  • Follow


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
Reply nano2k 10/16/2008 2:15:33 PM


0 Replies
568 Views

(page loaded in 0.043 seconds)

Similiar Articles:








7/24/2012 5:19:34 PM


Reply: