File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Open Source Projects and the fly likes IText: PrintDialog opened from a saved PDF Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Reply Bookmark "IText: PrintDialog opened from a saved PDF" Watch "IText: PrintDialog opened from a saved PDF" New topic
Author

IText: PrintDialog opened from a saved PDF

Rajin Reddy
Greenhorn

Joined: Feb 01, 2012
Posts: 1
we are using IText to create PDF, including javascript 'this.print(true)' code to open the print dialog.

But the user don't want to see the print dialog when he open the saved PDF. User saved the document instead of print it.

i know this happens because the javascript 'this.print(true)' included PDF.

But can we do anything to avoid the javascript execution when open the saved PDF, with out disabiling the javascript in Adobe.
 
 
subject: IText: PrintDialog opened from a saved PDF
 
Threads others viewed
Printing the PDF
iText Silent Print
PdfBox, do you have to save the .pdf to a file?
Send asci to printer to turn paper ?
Removing temp files
IntelliJ Java IDE