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

Incorrect dimensions for Page Rect if Page size is A1 on "HP Designjet T790ps"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.9.0
    • GUI: Printing
    • None
    • QT5.9.0, MSVC14
    • Windows

    Description

      When setting the paper size to "A1" and with "QPrinter::setPaperSize()" then "QPrinter::PageRect()" returns wrong values for QT59 but it works fine for QT485 when printing on HP Designjet T790ps. Detailed driver information in the attachment

      QPageSize ps = getPageSize(pageSize);
      printer.setPageSize(ps);
      QRectF pageRect = printer.pageRect(QPrinter::DevicePixel);

      the above code works fine for PDF exchange, DELL3115cn for both versions of QT.

      QT48 example was compiled with MSVC11
      QT59 example was compiled with MSVC14

      Attachments

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

        Activity

          People

            johnlayt John Layt
            ragarwal Rahul Agarwal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes