Expand my Community achievements bar.

Printing PDF with mixed Orientation

Avatar

Level 1

I am using the PDFBox Java library to generate a PDF document. In this document, I have a few pages in portrait orientation and some in landscape orientation. When I print this document in duplex mode, the portrait pages are bound on the long edge, while the landscape pages are bound on the short edge. Is it possible to set printing options in the document so that the binding is always on the long edge, regardless of the page orientation within the document?

Thank you!

0 Replies