Limited time promo



This help topic applies only to novaPDF. If you don't have it yet, you must download it first.

Download now Buy licenses
Mar 22, 2022
novaPDF 11.x
We strive to keep our help as accurate as possible. If you notice any inconsistencies or outdated info please let us know.
The InitializeSilent method initializes the INovaPdfOptions interface silently
HRESULT InitializeSilent(
[ in ] LPCWSTR p_wsPrinterName,
[ in ] LPCWSTR p_wsLicenseKey


[in] pointer to a null terminated Unicode string containing the name of the printer to configure
[in] pointer to a null terminated Unicode string containing the 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


This method can be used instead of the Initialize method, when you don't want to have message boxes shown with error messages. Use it when your application runs as a windows service or on a server computer.