hi Tilman thank you for you response. to clarify things first, our workflow is:
DOCX -> PDF (with some landscape pages) -> PDF (with only portrait pages) -> print informations added I am resposible for rotating pages only, and another company's software (they use pdfbox as well) is putting diverse infos on pages before it's going to be printed. If I understand "AddMessageToEachPage" example right, then they are responsible to rotate text according to page rotation. Am I right? I have adapted my github project, if you find some time to look at it. thank you very much Dalibor ----Ursprüngliche Nachricht---- Von : thaush...@t-online.de Datum : 22/02/2022 - 19:42 (MN) An : users@pdfbox.apache.org Betreff : Re: Problem with page rotation Hi, I haven't tested your code, but I notice that you rotate at two different places, was that intended? You can see an example for a 90° rotated page in the CreateLandscapePDF.java example in the source code download. Tilman Am 22.02.2022 um 09:36 schrieb dalibor.ka...@bluewin.ch: > hi there > > could you help me please? I have simple 3 pages document, second page > is landscape. > I would like to rotate landscape page ( rotate() method ) and then > print some info on > every page ( print() method ). I have made small project which you can > clone on github. > > Printed infos on page 2 are at the wrong position, this should be on > every page at the same > position (as on page 1 and 3). > > thank you and best regards > Dalibor Kalna > > GITHUB: https://github.com/dkalna/pdfbox-test.git > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org > For additional commands, e-mail: users-h...@pdfbox.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org For additional commands, e-mail: users-h...@pdfbox.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org For additional commands, e-mail: users-h...@pdfbox.apache.org