- 
    Bug 
- 
    Resolution: Out of scope
- 
    P3: Somewhat important 
- 
    4.6.3
- 
    None
There is no code in the Qt source tree to pre-populate the Windows DEVMODE structure for custom sizes.
In order to set a custom size the dmPaperSize field has to be set to DMPAPER_USER and the paper dimensions have to be specified in dmPaperWidth and dmPaperLength.
A grep on the source tree shows that these members are never used or accessed.
The attached program shows a print dialog with a preset custom format of 12cm x 15cm. The program shows the dialog using both Qt and Windows native calls. Please note that for testing a printer driver should be used that supports custom formats.
- is required for
- 
                    QTBUG-25380 QtPrintSupport - Page Layout Issues -         
- Open
 
-         
- 
                    QTBUG-25384 QtPrintSupport - Windows issues -         
- Open
 
-         
- 
                    QTBUG-37698 QtPrintSupport - Dialog Issues -         
- Open
 
-