A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
Trigger print dialog to print a pdf
Joined: Feb 15, 2013
Feb 15, 2013 09:21:16
Does the below code trigger print dialog?
stamper.setPageAction(PdfWriter.PAGE_OPEN, new PdfAction(PdfAction.PRINTDIALOG), 1);
Joined: Mar 22, 2005
Feb 15, 2013 09:56:32
No, it merely instructs the PDF to open the print dialog when the PDF is opened.
It is sorta covered in the
JavaRanch Style Guide
subject: Trigger print dialog to print a pdf
workign with exisitng pdfs
Printing a pdf file in Java
recieving this exception for iText
How to revoke permission to save or copy a PDF file in java
Client side - silent print of PDF
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015