More on printing on Windows
Today I worked on graphics class enhancements. We have new class WindowsGraphicsInfoMBS to find out details on a graphics object on Windows. For example if you have a graphics object from OpenPrinter command, you can query the logical and physical page sizes as well as resolution value and paper size in millimeters. That's quite useful, because we have a new function graphics.WinApplyDevModeMBS to apply a WindowsDeviceModeMBS object to the graphics object. This way we can rotate a page or change it's paper size.
Due a limitation in Windows, we can't change the first page. We can only apply new printer settings when no page is open. So we have functions WinEndPageMBS and WinStartPageMBS to end a page, change settings and start a new page.
This will be part of 12.1pr6 next week.