PaperWidth property (IEpnDeviceSettings)

Visual Basic example

Visual C++ example

 

Syntax

short PaperWidth;

Overview

Refer to Setting and Getting ePrint Printer Specifications.

Remarks

Gets or sets the width of paper specified by the value of PaperSize property.

For more information, refer to the Windows GDI section on MSDN for DEVMODE.

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, PrintQuality property, YResolution property, Flags property, GetPrinterBatchPrintersList method, SetPrinterBatchPrintersList method, InitDevmode property

Topics:

ePrint: Device Initialization and Printer Environment