Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.9.0
-
None
-
QT5.9.0, MSVC14
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