Force printing each page as an image.
void pdfPrintForceImage(PDFHandle pdf, int image)
If this function is called with image = 1, all pages will be rasterized, and sent to the printer as images.

This setting is only relevant for GDI printing, i.e., for non-PostScript printers, or if pdfPrintForceGDI is in effect. It is ignored when XpdfPrint generates PostScript code.

pdfPrintResetParams resets this to its default value of 0, which means to optimize by using GDI operations where possible.

pdfPrintForceImage(pdf, 1);