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 29, 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 DeleteNovaPrinter2 method adds a temporary novaPDF printer in the system
HRESULT DeleteNovaPrinter2(
    [in] BSTR p_wsPrinterName
);

Parameters:

p_wsPrinterName
    [in] name of the printer to be deleted.

Return values:

S_OK on success or COM error code
NV_INVALID _ PRINTER_NAME - not a novaPDF printer
NV_ERROR_DELETE_PRINTER - there was an error when deleting the printer

Remarks:

This method must be called for printers added with AddNovaPrinter method, after finish printing documents. It will delete the temporary printer from the system. Use this method if you wish to work with temporary printers.