AddPrinter method (IEPrint)

Visual Basic example

Visual C++ example

 

Syntax

short AddPrinter (BSTR pszPrinterName, PrinterTypeConstants PrinterType);

Overview

Refer to Types of Printers

Remarks

Adds a new non-OEM ePrint printer to the system.

Support for Basic functionality must be unlocked by calling the UnlockSupport method before using this function.

See Also

Elements:

UnlockSupport method, RemovePrinter method.

Topics:

ePrint: Miscellaneous