I am trying to setup a printer class in Java that can print PDF files using PDFBox. My printPdf method successfully adds the .pdf file in the printer’s queue but it does not print at all (it gets stuck in the “printing…” state). It only happens to some specific PDF files. For some pdf files it will work perfectly, for