On 10/01/2012 10:54, SAROON S.R wrote: > Hi Team, > > Please let us know if there is way to communicate between HTML and PDF > through javascript. > > I want to submit an HTML form after the didPrint action in the PDF.
Hello Saroon, it is possible to write code to establish a communication between HTML and PDF. This is explained in section 9.3 of the book, entitled "JavaScript communication between HTML and PDF" (p304-307). However, it is important that you understand that not every OS/viewer/browser combination supports this feature. For instance: the code from the book will work on Windows with the Adobe Reader plug-in in Firefox, but it won't work on Mac with Preview and Safari. Also: end users can disable JavaScript in the browser as well as in the PDF viewer (Preview doesn't even execute any JavaScript at all). This isn't an iText problem, it's a problem caused by the fact that you depend on the execution of code on the client side. This is also explained in the book. > I work for Netapp , we have already have purchased your product. Do > not have the license info with me now, can share once the concerned > person is back in office. There's a separate e-mail address for questions to paid support, but in this case, you're asking something that depends on third party software: an OS, a PDF viewer, a browser. This functionality is nice for features that aren't mission critical, but DO NOT USE IT if your application depends on the results. ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ 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
