You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "John Hewson (JIRA)" <ji...@apache.org> on 2014/04/09 19:06:19 UTC
[jira] [Created] (PDFBOX-2022) silentPrint(no args) doesn't use the
printerJob field
John Hewson created PDFBOX-2022:
-----------------------------------
Summary: 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
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)