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
Adrian (Softland)
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 SetPrinterServerFlags2 method sets the profiles usage options for a printer
HRESULT SetPrinterServerFlags2(
[ in, string ] BSTR p_wsPrinterName,
[ in ] BOOL p_bAllowPrivateProfiles,
[ in ] BOOL p_bShowSelectProfile,
[ in ] BOOL p_bAllowHideDialog


[in, string] printer name
[in] allow private profiles
[in] show select profiles dialog for all users
[in] allow users to hide select profiles dialog

Return values:

S_OK on success or COM error code
NV_SERVICE_ERROR - error connecting to novaPDF Server service