The Initialize2 method initializes the INovaPdfOptions interface
HRESULT Initialize2(
[ in ] BSTR p_wsPrinterName,
[ in ] BSTR p_wsLicenseKey
);
Parameters:
p_wsPrinterName
[in] printer name
p_wsLicenseKey
[in] license key
Return values:
S_OK on success or COM error code
NV_INVALID_PRINTER_NAME - cannot find printer with given printer name
NV_NOT_A_NOVAPDF_PRINTER - printer is not a novaPDF SDK
NV_INVALID_LICENSE - cannot read license or not a SDK license
NV_SERVICE_ERROR - cannot connect to novaPDF Server service
Remarks:
This method must be called prior to calling any method from the INovaPdfOptions interface.