JDK-6567260 : Set SheetCollate attribute to COLLATED and UNCOLLATED not working in 6u2
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 6u2
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris,solaris_10
  • CPU: sparc
  • Submitted: 2007-06-07
  • Updated: 2012-03-22
  • Resolved: 2007-06-14
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 Availability Release.

To download the current JDK release, click here.
JDK 6
6u4 b05Fixed
Related Reports
Duplicate :  
Description
Java Version: 1.6.0_02-b01, b02, b03, b04
Platform: solaris-sparc 10, host name: d2-sunburst.sfbay

Problems: 
A test which sets the SheetCollate Attribute to COLLATED and UNCOLLATED and checks whether it is reflected in the printout is failing in 1.6.0_02-b01 and builds afterward, it is PASS in b00 and 1.6.0_01-b06 and 1.6.0, the COLLATED and UNCOLLATED both are not working, meaning the printout only has one copy, it should have two copies which print page 1, 2,3 and page 1,2,3 or page 1,1 and 2,2 and 3,3.
But in 6u2-b01, it only print one copy.

The test case is as attached.

Hot to reproduce the problem:
1. set JAVA_HOME to 6u2-b04
2. cd /net/cady.sfbay/export4/Mustang_RC_ws/2d/src/2D_PrintingMerlin
3. ../../../share/bin/gnumake/solaris-sparc/gnumake runmanual
4. The second test frame will come up, click COLLATED and click print button, you will see the printout which only one copy and you click UNCOLLATED and print button, same result as COLLATED.

Comments
EVALUATION This is presumably related to the fix for 6506286 : Printing under Linux doesn't work which limited the inclusion of DeferredMediaSelection to printers that were reported as postscript printers by IPP/CUPS. That's still going to be used on S10, but Collate2DPrintingTest.java run with 6u1 and 6u2 shows a small difference in the output : % diff 6u1.ps 6u2.ps 72c72 < << /DeferredMediaSelection true /PageSize [612.0 792.0] /ImagingBBox null /ManualFeed false /Collate true /NumCopies 2 >> setpagedevice --- > /ImagingBBox null /ManualFeed false /Collate true /NumCopies 2<< /PageSize [612.0 792.0] /DeferredMediaSelection true >> setpagedevice Notably collate is moved outside the << .. >> bracketing so its not in the dictionary processed by that command.
07-06-2007