Startdocprinter Today

: Informs the spooler a new page is starting.

: Starts the print job and returns a unique Job ID. startdocprinter

Call StartDocPrinter with your handle and the DOC_INFO_1 structure. This creates a new entry in the Windows Print Queue . 3. Send Data Blocks : Informs the spooler a new page is starting

: Set to NULL to print to the physical port, or a filename to "print to file." startdocprinter