- 
    Bug 
- 
    Resolution: Duplicate
- 
     Not Evaluated Not Evaluated
- 
    5.12
- 
    None
- 
    Manjaro Linux, Kernel 4.20, Qt5.12, PySide 5.12.0, PyQt5 5.12.0
- 
        
- 
        81c3c66bb44c98b29a0181450ffa38a1c1fa06d9
I have a program which printed directly to a pdf-file in portrait- or landscape-orientation using QPrinter. Everything worked perfectly with PySide2 v5.11(also with PyQt5 v5.11.2) and Qt5 v5.11.2.
But now, after update to Qt5.12 and PySide2 v5.12 (or pyqt5.11.3), whitout any code-changes, I always get documents in format "us-letter" in portrait-orientation.
I have a minimal working-example and some pdf-files to illustrate this here: https://www.dropbox.com/sh/feve6ubvy...5zGdQI9ra?dl=0
(I had to remove names in two of the documents with LibreOffice Draw. Thus, the specs say that they are generated by LibreOffice instead of Qt5.12.)
In my example scripts, I let python print the printer-settings and they are correct, but the generated output is wrong.
- duplicates
- 
                    QTBUG-72868 Can not print text with Qt 5.12.0-1 and canon lbp capt driver -         
- Closed
 
-         
- relates to
- 
                    QTBUG-73249 QPrinter default page size for custom page size seems not to work -         
- Closed
 
-         
