Thank you John
On 9 April 2014 18:11, John Hewson <[email protected]> wrote: > Ok, fixed in revision 1586042. > > -- John > > On 9 Apr 2014, at 12:27, Joseph Siddal <[email protected]> wrote: > > > silentPrint(no args) doesn't use the printerJob field of the class which > > means if you've set a printerservice, it is ignored and the default one > is > > used. > > > > in org.apache.pdfbox.rendering.PDFPrinter class the silentPrint method > is: > > > > public void silentPrint() throws PrinterException > > { > > silentPrint(PrinterJob.getPrinterJob()); > > } > > > > It should be: > > > > public void silentPrint() throws PrinterException > > { > > silentPrint(this.printerJob); > > } > > > > > > Joseph > >
