Hello, we are having problem with PDFBox when trying to print PDFs. In PDF there is image with black text, red logo and white background, but when PDF is sent to printer, the background of image is printed black (the text is changed from black to dark grey so it's still visible). Logo doesn't change. The code is simple:
PDDocument document = null; try { document = PDDocument.load(fileNamePDF); try { document.print(); } catch (PrinterException ex) { ex.printStackTrace(); } } catch (IOException e1) { e1.printStackTrace(); } We are using PDFBox 1.7.1, the issue we are having is similiar to: https://issues.apache.org/jira/browse/PDFBOX-1023 without converting PDF to image. Also, colors are not inverted, just white background is printed black. I have attached two examples of what is in pdf and what is printed. Sorry, can't send you actual PDF at the moment. Thanks for your help, Matej