Hello,

I want to generate a pdf file with automatic print. If the file is opened,
the printdialog will be showed automatic.

So I use:

                        PdfAction pdfAction = new 
PdfAction(PdfAction.PRINTDIALOG);
                        pdfWriter.setOpenAction(pdfAction);

It works in Adobe Reader 9.1. (I don't know whether it works in a old
version. If you have experience, please tell me.) But it doesn't work in
Foxit Reader. (Version 3.0 Build 1506)

By the Way,
                        PdfAction pdfAction = new PdfAction(PdfAction.NEXTPAGE);
                        pdfWriter.setOpenAction(pdfAction);
works in my Foxit Reader.

How can I solve this problem, can anybody help me?

Thanks
-- 
View this message in context: 
http://www.nabble.com/Automatic-Print-problem-with-Foxit-Reader-tp23154880p23154880.html
Sent from the iText - General mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to