[macosx] Scale value in Page Setup dialog.

Abhinay Reddyreddy Abhinay.Reddyreddy at mathworks.com
Tue Aug 7 08:16:12 PDT 2012


Hi,

I am using the following code to show a page setup dialog on mac os x.

 PrinterJob job = PrinterJob.getPrinterJob();
 PageFormat pf = job.pageDialog(job.defaultPage());

The page setup dialog comes up with page orientation, paper size and "Scale %" options. I could not find any API to retrieve the scale value entered by the user. Could anyone let me know if there is an existing API to access the scale value. If there is none, Is there a way to remove or disable the scale option in this dialog. Should I report this as a bug ??

Thanks,
Abhinay.


More information about the macosx-port-dev mailing list