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 ed...