Printer paper size in Firemonkey


I am trying to allow the user to select an appropriate paper size for their printer within my own print settings dialog. Does anyone know a workable solution – preferably cross platform but otherwise OSX.

If I use a TPageSetupDialog then when executed it produces an error in the PASever window of Invalidpmobject although the dialog shows but doesn’t seem to affect the current printers paper size. There doesn’t seem to be any proerties to see what the user selected either.

I need to set the paper size without actually printing as the user needs to be able to adjust things with the new paper size first.

Comments are closed.