pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From le...@apache.org
Subject svn commit: r1452039 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/PDFReader.java
Date Sun, 03 Mar 2013 13:33:59 GMT
Author: lehmi
Date: Sun Mar  3 13:33:59 2013
New Revision: 1452039

URL: http://svn.apache.org/r1452039
Log:
PDFBOX-1138: set the pageable

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/PDFReader.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/PDFReader.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/PDFReader.java?rev=1452039&r1=1452038&r2=1452039&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/PDFReader.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/PDFReader.java Sun Mar  3 13:33:59
2013
@@ -138,6 +138,7 @@ public class PDFReader extends javax.swi
                     {
                         PDPageable pageable = new PDPageable(document);
                         PrinterJob job = pageable.getPrinterJob();
+                        job.setPageable(pageable);
                         if (job.printDialog())
                         {
                             job.print();



Mime
View raw message