PrintDocumentOnPrintProcessor


BOOL PrintDocumentOnPrintProcessor(
    HANDLE                        hPrintProcessor,
    LPPRINTPROCESSORDOCUMENTDATA  lpDoc
);

Prints the document.

hPrintProcessor

Handle of the print processor to use.

lpDoc

Points to the name of the document to print on the print processor.


The PrintDocumentOnPrintProcessor function is the heart of any print processor implementation. For that reason, pseudo code that describes the logic of the PrintDocumentOnPrintProcessor function implemented in the sample print processor supplied with the Windows 95 DDK is shown in Sample Print Processor.