I need to be able provide the print dialog automatically when a pdf is opened. I need to do it with javascript and I was wondering if it is possible for me to append said ja
I did something like this without Javascript, using iText API calls:
PdfWriter writer = ...; PdfAction action = new PdfAction(PdfAction.PRINTDIALOG); writer.setOpenAction(action);