Check to see if a printer supports PostScript (Unicode).
int pdfPrinterSupportsPostScriptW(wchar_t *printerName)
This function returns non-zero if the specified printer supports PostScript.

pdfPrinterSupportsPostScriptW checks whether XpdfPrint will (by default) use its internal PostScript generation path for this printer. A few PostScript printer drivers are not supported by XpdfPrint – this function returns zero in those cases.

When pdfPrinterSupportsPostScriptW returns true, the pdfPrintForceGDI function can be used to force XpdfPrint to use its GDI printing path.

if (pdfPrinterSupportsPostScriptW(printerName)) { .... }