I'm trying to to add a print button to the pdfbox and JFX8Printer examples to print the whole pdf (loaded document) without much success, to start with I'm not sure how to call PDFRenderer in pdfbox , can someone help please?
The complete example is attached , printDocument is the added sub (together with JFX8Printer example)
I'll answer it myself , got confused between Java.awt.print.PrinterJob and javafx.print.PrinterJob libraries , setPageable is in Java.awt.print.PrinterJob and not javafx.print.PrinterJob...