pdfSetPrintForceImage

Force the print operation to print as images.
void pdfSetPrintForceImage(PDFViewerHandle viewer, BOOL img)
If this function is called with img = true, 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 pdfSetPrintForceGDI is in effect. It is ignored when XpdfViewer generates PostScript code.

C:
pdfSetPrintForceImage(pdf, TRUE);