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 SetPrinterPublicProfile method sets the visibility of a public profile for a printer
HRESULT SetPrinterPublicProfile(
[ in, string ] LPCWSTR p_wsPrinterName,
[ in, string ] LPCWSTR p_wsProfileId,
[ in ] BOOL p_bVisible
);

Parameters:

p_wsPrinterName
[in, string] printer name
p_wsProfileId
[in, string] public profile id
p_bVisible
[in] flag, if visible

Return values:

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

Remarks:

Sets the visibility option for a public profile and a printer. By default, all public profiles are visible ton all printers. They can be hidden for some printers using this method.