Force the spool file to be in raw format.
[read/write property] rawSpoolFile([out, retval] VARIANT_BOOL *raw) rawSpoolFile([in] VARIANT_BOOL raw)
If this property is set to true, XpdfPrint forces spool files to be in raw format. If set to false, the driver's default spool file format - which may be raw, EMF, or something else, depending on the driver - will be used.
resetParams resets this to its default value of true.
Changing this to false is usually a bad idea, unless your application specifically requires it.
pdf.rawSpoolFile = False