Register / Login
Win a copy of
OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide: Exam 1Z0-815
this week in the
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
Other Open Source Projects
iText PDF viewer preferences changing dynamically
Prateek Kumar Singh
posted 3 years ago
I have created a PDF using iText and set the total number of copies to 2 using
addViewerPreference(PdfName.NUMCOPIES, new PdfNumber(2)),
when I'm printing the PDF by default 2 copies are printing. But when I select the paper tray using below step
Print -> Properties-> Paper/Finishing ->Paper source ->Tray -> Tray 1
Then the number of copies is set back to 1 in Adobe print pop up. I'm using Adobe reader XI.
Is it possible to set to 2 when I select the the tray using iText? What could be solution for that ?
Yeah. What he said. Totally. Wait. What? Sorry, I was looking at this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
Boost this thread!
java printing - printing a pdf
Printer selection of trays using java
Digital signature with IText
core java/Input output streams
PDF Byte Array to video output stream