United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-7157659 : [macosx] Landscape Printing orientation doesn't work

Details
Type:
Bug
Submit Date:
2012-03-29
Status:
Closed
Updated Date:
2012-06-05
Project Name:
JDK
Resolved Date:
2012-06-05
Component:
client-libs
OS:
os_x
Sub-Component:
2d
CPU:
x86
Priority:
P3
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:
7u6 (b10)

Related Reports
Backport:

Sub Tasks

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



Hardware and Software, Engineered to Work Together