A Java program that uses the javax.print.DocPrintJob related classes to print a PDF document using Qoppa’s library jPDFPrint. The class registers itself as a javax.print.event.PrintJobListener to receive events related to the progress of the print job.