I am having problems with the "done printing" action working on a consistent 
basis.  There are some times it works and some times it doesn't.
It is very inconsistent....even on the same document.

I am using IE8 & Adobe Reader 10 for the viewing and printing.

PdfAction donePrintingAction = PdfAction.javaScript("app.alert(\'Document did 
print \'); \r",pdfWriter);
// PdfAction donePrintingAction = PdfAction.javaScript("app.launchURL(\'" + 
afterPrintURL + "\');",pdfWriter);
pdfWriter.setAdditionalAction(PdfName.DP, donePrintingAction);

Any ideas what may be the problem?
Greg



  ________________________________
CONFIDENTIALITY NOTICE: This electronic mail transmission and any accompanying 
documents contain information belonging to the sender which may be confidential 
and legally privileged. This information is only for the use of the individual 
or entity to whom this electronic mail transmission was intended. If you are 
not the intended recipient, any disclosure, copying, distribution, or action 
taken in reliance on the contents of the information contained in this 
transmission is strictly prohibited. If you have received this transmission in 
error, please immediately contact the sender and delete the message. Thank you.
------------------------------------------------------------------------------
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