[7u4] request for review: 7154047: [macosx]When we choose print one page in the print dialog,it still prints all the pages.

Andrew Brygin andrew.brygin at oracle.com
Tue Mar 27 05:02:27 PDT 2012


  could you please review a small fix for CR 7154047?

  On macosx, the set of printing attributes does not contain
  a SunPageSelection attribute. Due to this, the shared code
  in RasterPrinterJob ignores PargeRanges attribute, that causes
  printing of all pages.

  Suggested fix just injects the SunPageSelection attribute into
  the set in order to force the shared code take the PargeRanges
  attribute into account.

Bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7154047
Webrev: http://cr.openjdk.java.net/~bae/7154047/webrev/


More information about the macosx-port-dev mailing list