JDK-7157659 : [macosx] Landscape Printing orientation doesn't work
  • Type: Bug
  • Status: Closed
  • Resolution: Fixed
  • Component: client-libs
  • Sub-Component: 2d
  • Priority: P3
  • Affected Version: 7
  • OS: os_x
  • CPU: x86
  • Submit Date: 2012-03-29
  • Updated Date: 2012-06-05
  • Resolved Date: 2012-06-05
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availabitlity Release.

To download the current JDK release, click here.
JDK 7 JDK 8
7u6 b10Fixed 8Fixed
Description
Mac OS X 10.7.3 macmini4,1
Run some of the manual regression tests requiring landscape page orientation.

I would suggest closed/java/awt/print/PrinterJob/TransImages/TransImages.java or
closed/java/awt/print/PrinterJob/PrintTextTest -- however neither of them would really work as a jtreg test. Fortunately, both of them have a useful main(): please use that, just javac/java etc.

You will see that page will not be printed landscape when required.

Comments
EVALUATION Actually it works fine if you use the Swing print dialog which uses the CUPS printing path. The problem is only via the native printing dialog which uses Quartz. It seems like the device is not being put into landscape mode. This is NOT a regression. Its broken on Apple JDK 6.
2012-04-05