Difference between DriverInit and PDFDriverInit

This is a read only forum. It contains the most frequently asked questions about Amyuni products and licensing.
Post Reply
Dany
Amyuni Team
Posts: 113
Joined: Wed Sep 11 2002
Location: Montreal.
Contact:

Difference between DriverInit and PDFDriverInit

Post by Dany »

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.
Post Reply