jdk/src/solaris/classes/sun/print/IPPPrintService.java
changeset 17676 d76d0c992e34
parent 5506 202f599c92aa
child 18752 2a4f599c6bff
--- a/jdk/src/solaris/classes/sun/print/IPPPrintService.java	Wed May 29 09:18:55 2013 -0700
+++ b/jdk/src/solaris/classes/sun/print/IPPPrintService.java	Wed May 29 09:46:00 2013 -0700
@@ -1023,6 +1023,13 @@
 
             // this is already supported in UnixPrintJob
             catList.add(Destination.class);
+
+            // It is unfortunate that CUPS doesn't provide a way to query
+            // if printer supports collation but since most printers
+            // now supports collation and that most OS has a way
+            // of setting it, it is a safe assumption to just always
+            // include SheetCollate as supported attribute.
+            catList.add(SheetCollate.class);
         }
 
         // With the assumption that  Chromaticity is equivalent to