[ 
https://issues.apache.org/jira/browse/PDFBOX-3194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15101091#comment-15101091
 ] 

Joseph Jezerinac commented on PDFBOX-3194:
------------------------------------------

{code:title=PrintTest.java|borderStyle=solid}
public class PrintTest {
    @Test
    public void testPrint() throws Exception {
        File url = new File("D:\\temp\\lasc-bad-chk-print.pdf");
        try (PDDocument doc = PDDocument.loadNonSeq(url, null)) {
            final PrinterJob printJob = PrinterJob.getPrinterJob();
            printJob.setJobName("test");
            printJob.setCopies(1);
            printJob.print();
            doc.silentPrint(printJob);
        }
    }
}
{code}

> Print problem: checkboxes are printed with a number (4) instead of a check
> --------------------------------------------------------------------------
>
>                 Key: PDFBOX-3194
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3194
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 1.8.10
>            Reporter: Joseph Jezerinac
>         Attachments: bad-chk-print.pdf
>
>
> Printing a PDF with check boxes that are checked the print out render the 
> number 4 inside the check box instead of the usual check.  Printing via Adobe 
> Reader does not have this problem.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to