PaperID property (IEpnPrinterSpecifications)

Visual Basic example

Visual C++ example

 

Syntax

long PaperID;

Overview

Refer to Setting and Getting ePrint Printer Specifications.

Remarks

Gets or sets the paper size. This value can be any of the predefined paper size IDs. For a list of possible values, refer to the dmPaperSize member of the DEVMODE structure in the Microsoft® Platform SDK help file.

Also the value can be a custom paper size ID. Custom paper IDs start from the value of DMPAPER_USER + 200.

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

This property is use to configure the printing specification.

This property is updated with the currently used value by calling the GetPrinterSpecifications method.

To set the value of this property, assign a new value to it and call the SetPrinterSpecifications method.

See Also

Elements:

PaperSizeName property, PaperWidth property, PaperHeight property, DimensionsInInches property, PortraitOrient property, MarginsPrinter property, PrintQuality property, YResolution property, GetPrinterSpecifications method, SetPrinterSpecifications method

Topics:

ePrint: Getting and Setting Printer Specifications