--- old/src/java.desktop/share/classes/sun/print/PrintJob2D.java 2016-03-10 11:47:29.440445200 +0530 +++ new/src/java.desktop/share/classes/sun/print/PrintJob2D.java 2016-03-10 11:47:28.933880900 +0530 @@ -995,6 +995,7 @@ public void run() { try { + attributes.remove(PageRanges.class); printerJob.print(attributes); } catch (PrinterException e) { //REMIND: need to store this away and not rethrow it.