YResolution property (IEpnDeviceSettings)

Visual Basic example

Visual C++ example

 

Syntax

short Yresolution;

Overview

Refer to Setting and Getting ePrint Printer Specifications.

Remarks

Gets or sets the Y resolution in DPI, to be used for printing. If the value of the PrintQuality property (IEpnDeviceSettings) is one of the print quality predefined values, this value will be ignored. Otherwise, this value should be the same as the value of PrintQuality property.

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

This property is updated with the currently used setting when the GetPrinterBatchPrintersList method is called.

To update the device initialization and environment of a batch printer found in the batch printers list, set this property and the other IEpnDeviceSettings properties accessed by the InitDevmode property and call the SetPrinterBatchPrintersList method.

See Also

Elements:

Orientation property, PaperSize property, PaperLength property, PaperWidth property, PrintQuality property, Flags property, GetPrinterBatchPrintersList method, SetPrinterBatchPrintersList method InitDevmode property

Topics:

ePrint: Device Initialization and Printer Environment