PRINTPROCESSOROPENDATA

typedef struct _PRINTPROCESSOROPENDATA {
DEVMODEW*pDevmode;
LPWSTRpDatatype;
LPWSTRpParameters;
LPWSTRpDocumentName;
DWORDJobId;
LPWSTRpOutputFile;
LPWSTRpPrinterName;
} PRINTPROCESSOROPENDATA, *PPRINTPROCESSOROPENDATA *LPPRINTPROCESSOROPENDATA;

The PRINTPROCESSOROPENDATA structure provides information that the print processor needs in order to open itself. The spooler initializes this structure when it starts a new thread to play back a spooled file. It then passes the initialized structure to the print processor with a call to OpenPrintProcessor.

Members

pDevmode

Points to the data structure that contains information about the device initialization and environment of a printer.

pDatatype

Points to the data type of the document.

pParameters

Points to a null-terminated string of parameters to the printer processor.

pDocumentName

Points to the name of the document.

JobId

Identifies the print job associated with the document.

pOutputFile

Points to the document spool file.

pPrinterName

Points to the name of the printer to be used for printing.