Printer property (IEpnPrinterList)

Visual Basic example

Visual C++ example

 

Syntax

IEpnBatchPrinterInfo * Printer(short iIndex);

Overview

Refer to Redirecting to a Printer Redirection List

Remarks

(Read only) Retrives information about a printer from the printers list.

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

This IEpnBatchPrinterInfo object contains the following properties:

EnhancedOptions property

Flags property

InitDevmode property

PrinterName property

The above properties are updated by calling the RemovePrinter method.

The Printer property itself is read only. However, the properties accessed by this property can be set with new values. To set these values, call the AddPrinter method.

Note that the EnhancedOptions, and InitDevmode properties are read-only interface properties that contain multiple sub-properties. Calling the RemovePrinter or AddPrinter method method updates or sets each individual sub-property associated with the two interface properties.

See Also

Elements:

PrintersCount property, AddPrinter method, RemovePrinter method, GetPrinterIndex method, EnhancedOptions property (IEpnBatchPrinterInfo), Flags property, InitDevmode property, PrinterName property, GetPrinterBatchPrintersList method, SetPrinterBatchPrintersList method

Topics:

ePrint: Batch Printers List