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)

Reply via email to