Nominate our 2022 Qt Champions!

[Solved] Two different orientations in one print

  • Hi folks,

    I have to print two QTextDocuments into same PDF-File.
    The difficulty is that the first page is in landscape and the second in portrait.

    As you know, the problem isn't solved by just changing the printers orientation.

    Does anyone has an idea how to solve it (at best without any extern libraries)?

    Guenter W.

    Using newPage() after changing the orientation helps a lot. blush

Log in to reply