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

QPrinter::pageRect() returns negative values

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.2.0, 5.4.0
    • Fix Version/s: None
    • Component/s: GUI: Printing
    • Labels:
      None
    • Environment:
      Windows 7 64 bit

      Description

      Like in a previous bug report (https://bugreports.qt.io/browse/QTBUG-36516) I get negative values when executing pageRect on a QPrinter instance.

      The QPrinter instance is initialized correctly and my printer starts printing, but I can't scale the output.

      I am using a HP Deskjet F380. There is no difference in behavior of pageRect() between using my printer via USB or as a network device.

      I tried both 5.2.0 and 5.4.0, but I couldn't improve things.

        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:
              Rennnyyy RB
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes