PaperSize property (IEpnDeviceSettings)

Visual Basic example

Visual C++ example

 

Syntax

short PaperSize;

Overview

Refer to Setting and Getting ePrint Printer Specifications.

Remarks

Gets or sets the size of the paper for printer devices. 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, PaperLength property, PaperWidth property, PrintQuality property, YResolution property, Flags property, GetPrinterBatchPrintersList method, SetPrinterBatchPrintersList method InitDevmode property

Topics:

ePrint: Device Initialization and Printer Environment