Difference between DriverInit and PDFDriverInit
Difference between DriverInit and PDFDriverInit
The DriverInit function only attaches to an existing printer. If the specified printer does not exist, it is not created and the function fails. The PDFDriverInit and related RTFDriverInit, HTMLDriverInit functions attach to the printer if it already exists; otherwise they attempt to create it. In both cases, xxxDriverInit functions cause the printer to be removed when DriverEnd is called, whereas DriverInit leaves the printer in the system.