equal
deleted
inserted
replaced
1021 // because we can get it from PPD. |
1021 // because we can get it from PPD. |
1022 catList.add(MediaPrintableArea.class); |
1022 catList.add(MediaPrintableArea.class); |
1023 |
1023 |
1024 // this is already supported in UnixPrintJob |
1024 // this is already supported in UnixPrintJob |
1025 catList.add(Destination.class); |
1025 catList.add(Destination.class); |
|
1026 |
|
1027 // It is unfortunate that CUPS doesn't provide a way to query |
|
1028 // if printer supports collation but since most printers |
|
1029 // now supports collation and that most OS has a way |
|
1030 // of setting it, it is a safe assumption to just always |
|
1031 // include SheetCollate as supported attribute. |
|
1032 catList.add(SheetCollate.class); |
1026 } |
1033 } |
1027 |
1034 |
1028 // With the assumption that Chromaticity is equivalent to |
1035 // With the assumption that Chromaticity is equivalent to |
1029 // ColorSupported. |
1036 // ColorSupported. |
1030 if (getAttMap != null && getAttMap.containsKey("color-supported")) { |
1037 if (getAttMap != null && getAttMap.containsKey("color-supported")) { |