THBPdf Download Contact Us Buy Online Developerse-mail me

AxAcroPDF printAll and WARNING




Message-ID:<c7f46072-e01d-462b-b1ea-8213f3d76d9e@v56g2000hsf.googlegroups.com>
Subject:

AxAcroPDF.printAll() and WARNING!


Date:Thu, 16 Oct 2008 15:15:33 +0100


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.




Message-ID:<c7f46072-e01d-462b-b1ea-8213f3d76d9e@v56g2000hsf.googlegroups.com>
Subject:

AxAcroPDF.printAll() and WARNING!


Date:Thu, 16 Oct 2008 15:15:33 +0100


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.




 

|THBPdf| |Download| |Developers|