[ https://issues.apache.org/jira/browse/PDFBOX-2119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14021667#comment-14021667 ]
Tilman Hausherr commented on PDFBOX-2119: ----------------------------------------- What happens if you use a different constructor, thus {code} printers = new PDFPrinter(doc, pj, Scaling.ACTUAL_SIZE, orientation, null, false, 0); printers.silentPrint(); {code} alternatively, if you're building with svn (i.e. compiling the sources), maybe try changing the "print(PrinterJob job, boolean isSilent)" by adding {code} this.printerJob = job; {code} at the beginning. Also remove "final" from the class variable or it won't compile. > Possible printing bug for V2.00 > ------------------------------- > > Key: PDFBOX-2119 > URL: https://issues.apache.org/jira/browse/PDFBOX-2119 > Project: PDFBox > Issue Type: Bug > Affects Versions: 2.0.0 > Environment: Window 7 Professional SP1, JRE 8. > Reporter: You Liang > Assignee: Andreas Lehmkühler > Labels: pdfbox, printer, printing > Fix For: 1.8.6, 2.0.0 > > > Printing seems to be using the window default printer paper size instead of > selected printService papersize. > Etc my default Printer is an A4 Printer, and the printer that i had choosen > to print is a receipt printer. > When i print to the receipt printer, it will print out a blown up version of > the original pdf, and when i change my default printer to the receipt > printer.. everything work fine. -- This message was sent by Atlassian JIRA (v6.2#6252)