InitDevmode property (IEpnBatchPrinterInfo)

Visual Basic example

Visual C++ example

 

Syntax

IEpnDeviceSettings * InitDevmode;

Overview

Refer to Redirecting to a Printer Redirection List

Remarks

(Read only) Retrives the information about the device initialization and environment of a batch printer found in the batch printers list.

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

This IEpnDeviceSettings object contains the following properties:

Flags property

Orientation property

PaperLength property

PaperSize property

PaperWidth property

PrintQuality property

YResolution property

The above properties are updated by calling the GetPrinterBatchPrintersList method.

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

See Also

Elements:

PrinterName property, EnhancedOptions property, Flags property (IEpnBatchPrinterInfo), Flags property (IEpnDeviceSettings), Orientation property, PaperLength property, PaperSize property, PaperWidth property, PrintQuality property, YResolution property, GetPrinterBatchPrintersList method, SetPrinterBatchPrintersList method

Topics:

ePrint: Printer Information