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 SetPrinterActivePublicProfile method sets an active public profile for a printer
HRESULT SetPrinterActivePublicProfile(
[ in, string ] LPCWSTR p_wsPrinterName,
[ in, string ] LPCWSTR p_wsProfileId


[in, string] printer name
[in, string] public profile id

Return values:

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


Sets an public profile as the active profile for the printer. All users will be forced to use this public profile, the cannot change the active profile.