Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-73233

QPrinter does not respect PageSize and Orientation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Duplicate
    • Affects Version/s: 5.12.0
    • Fix Version/s: 5.12.1
    • Component/s: GUI: Printing
    • Labels:
      None
    • Commits:
      81c3c66bb44c98b29a0181450ffa38a1c1fa06d9

      Description

      You can test this with the Qt own example fontsampler (http://doc.qt.io/qt-5/qtwidgets-painting-fontsampler-example.html). Regardless what you configure it ALWAYS printers on US-Letter Portrait - for PDF and pysical printer.

      I thik this relates to the following change: http://code.qt.io/cgit/qt/qtbase.git/commit/src/printsupport/kernel/qprinter.cpp?id=21e5da2fe0a3c9450de60b846d2f0836e4455976

      The PDF was generated selecting A4 with Landscape (the content is landscaped but the page it self is not): https://up.frubar.net/3917/print.pdf

      This was not the case for Qt 5.11.

       

      OS: Linux (Arch Linux) qt5-base Version : 5.12.0-3

       

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              johnlayt John Layt
              Reporter:
              carlos22 carlos22
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes