pdfPrintForceColor

Force printing in color.
void pdfPrintForceColor(PDFHandle pdf, int color)
If this function is called with color = 1, XpdfPrint generates color output, even if the printer appears to be monochrome.

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 generate monochrome output for monochrome printers and color output for color printers.

C:
pdfPrintForceColor(pdf, 1);
pdfPrintForceMono
pdfPrinterSupportsColor
pdfPrintResetParams