GetPrinterIndex method (IEpnPrinterList)

Visual Basic example

Visual C++ example

 

Syntax

short GetPrinterIndex(IEpnBatchPrinterInfo *pBatchPrinterInfo);

Overview

Refer to Redirecting to a Printer Redirection List

Remarks

Indicates whether a printer exists in the printers list.

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

If the printer does not exist in the printers list, the returned value will be –1.

The returned value is a zero-based index.

See Also

Elements:

PrintersCount property, Printer property, AddPrinter method, GetPrinterIndex method

Topics:

ePrint: Batch Printers List