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:12:14 UTC

[jira] [Resolved] (PDFBOX-2022) silentPrint(no args) doesn't use the printerJob field

     [ 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)