[
https://issues.apache.org/jira/browse/PDFBOX-2022?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
John Hewson resolved PDFBOX-2022.
---------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0
Fixed in revision 1586042.
> silentPrint(no args) doesn't use the printerJob field
> -----------------------------------------------------
>
> Key: PDFBOX-2022
> URL: https://issues.apache.org/jira/browse/PDFBOX-2022
> Project: PDFBox
> Issue Type: Bug
> Components: Rendering
> Affects Versions: 2.0.0
> Reporter: John Hewson
> Fix For: 2.0.0
>
>
> 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);
> }
--
This message was sent by Atlassian JIRA
(v6.2#6252)