pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jahew...@apache.org
Subject svn commit: r1586042 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/rendering/PDFPrinter.java
Date Wed, 09 Apr 2014 17:10:15 GMT
Author: jahewson
Date: Wed Apr  9 17:10:15 2014
New Revision: 1586042

URL: http://svn.apache.org/r1586042
Log:
PDFBOX-2022: silentPrint(no args) should use the printerJob field

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/rendering/PDFPrinter.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/rendering/PDFPrinter.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/rendering/PDFPrinter.java?rev=1586042&r1=1586041&r2=1586042&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/rendering/PDFPrinter.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/rendering/PDFPrinter.java Wed Apr
 9 17:10:15 2014
@@ -41,7 +41,7 @@ import java.io.IOException;
  * Prints a PDF document using AWT.
  * This class may be overridden in order to perform custom printing.
  *
- * @author Andreas Lehmkühler
+ * @author Andreas Lehmk�hler
  * @author John Hewson
  */
 public class PDFPrinter
@@ -138,7 +138,7 @@ public class PDFPrinter
      */
     public void silentPrint() throws PrinterException
     {
-        silentPrint(PrinterJob.getPrinterJob());
+        silentPrint(printerJob);
     }
 
     /**
@@ -160,7 +160,7 @@ public class PDFPrinter
      */
     public void print() throws PrinterException
     {
-        print(PrinterJob.getPrinterJob());
+        print(printerJob);
     }
 
     /**



Mime
View raw message