Available in LEADTOOLS Document and Medical Imaging toolkits.
LEADTOOLS Virtual Printer: Getting and Setting Virtual Printer Specifications
L_PrnIsLeadtoolsPrinter
L_PrnGetPrinterSpecifications
L_PrnSetPrinterSpecifications