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

Reply via email to