OpenPrintProcessor

HANDLE OpenPrintProcessor(

LPWSTR pPrinterName,
PPRINTPROCESSOROPENDATA pPrintProcessorOpenData
);

OpenPrintProcessor opens an instance of the print processor for printing.

Parameters

pPrinterName

Points to the name of the printer for which the print processor is being opened. The printer should be callable by WritePrinter.

pPrintProcessorOpenData

Points to the data used to open the print processor.

Return Value

OpenPrintProcessor returns a handle that is used in subsequent calls to PrintDocumentOnPrintProcessor, ControlPrintProcessor, and ClosePrintProcessor.

See Also

PRINTPROCESSOROPENDATA