This is the behaviour I have found.

When just using the "print button" within Adobe Reader X, the
"donePrintingAction" does not get fired.  

If I do the following also, it does get fired:
        PdfAction autoPrintingAction =
PdfAction.javaScript("this.print(true);",pdfWriter);
        pdfWriter.setOpenAction(autoPrintingAction);

One other side note, after I do the open action, the print button now fires
the donePrintingAction (in the same session).  It's like something gets
intialized within Reader.


--
View this message in context: 
http://itext-general.2136553.n4.nabble.com/Having-problem-with-done-printing-action-tp3445396p3447642.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Forrester Wave Report - Recovery time is now measured in hours and minutes
not days. Key insights are discussed in the 2010 Forrester Wave Report as
part of an in-depth evaluation of disaster recovery service providers.
Forrester found the best-in-class provider in terms of services and vision.
Read this report now!  http://p.sf.net/sfu/ibm-webcastpromo
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to