Hi Phil,

Please review a fix for
bug: https://bugs.openjdk.java.net/browse/JDK-8042713
webrev: http://cr.openjdk.java.net/~psadhukhan/8042713/webrev.00/

The OS X platform print dialog has an option to set the page ranges.
If this is done it ought to be reported back in the AttributeSet.
but it was found that the page range attribute is not reported back .

This is because nsPrintInfoToJavaPrinterJob() does not call correct Java setxxxAttributes methods to set the attributes.

I added the corresponding setPageRangeAttribute method along with setCopiesAttribute method to report back the "page range" and "copies" in AttributeSet.

Regards
Prasanta

Reply via email to