The RestoreDefaultPrinter method restores the default printer to the printer that was default before calling SetDefaultPrinter.
HRESULT RestoreDefaultPrinter( void );
Parameters:
none
Return values:
S_OK on success or COM error code
NV_NOT_INITIALIZED - Initialize was not called
NV_NODEFAULT_PRINTER - SetDefaultPrinter was not called
Remarks:
After calling SetDefaultPrinter with an INovaPdfOptions object, call RestoreDefaultPrinter with the same object to restore the original default printer.