Orientation property (IEpnDeviceSettings)

Visual Basic example

Visual C++ example

 

Syntax

short Orientation;

Overview

Refer to Setting and Getting ePrint Printer Specifications.

Remarks

Gets or sets a value that selects the orientation of the paper, for printer devices only. For more information, refer to the Windows GDI section on MSDN.

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 (IEpnBatchPrinterInfo) and call the SetPrinterBatchPrintersList method.

See Also

Elements:

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

Topics:

ePrint: Device Initialization and Printer Environment