When a PDF file is printed, the user has to select the appropriate paper size manually.
The JRPdfExporter could set the PdfName.PICKTRAYBYPDFSIZE preference in the viewer like this :
pdfWriter.addViewerPreference(PdfName.PICKTRAYBYPDFSIZE, PdfBoolean.PDFTRUE);
The value of the preference would be specified like other parameters.
Recommended Comments
There are no comments to display.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now