< prev index next >

src/java.desktop/share/classes/sun/print/RasterPrinterJob.java

Print this page

        

@@ -1419,10 +1419,11 @@
      * @see java.awt.print.Book
      * @see java.awt.print.Pageable
      * @see java.awt.print.Printable
      */
     public void print() throws PrinterException {
+        attributes.remove(PageRanges.class);
         print(attributes);
     }
 
     public static boolean debugPrint = false;
     protected void debug_println(String str) {
< prev index next >