GetPrinterSpecifications method (IEPrint)

Visual Basic example

Visual C++ example

 

Syntax

short GetPrinterSpecifications(BSTR pszPrinterName, IEpnPrinterSpecifications **pPrinterSpecifications);

Overview

Refer to Setting and Getting ePrint Printer Specifications

Remarks

Retrieves the specifications of an ePrint printer.

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

Calling this method will update the values of the following properties of the IEpnPrinterSpecifications object:

DimensionsInInches property

MarginsPrinter property

PaperHeight property

PaperID property

PaperSizeName property

PaperWidth property

PortraitOrient property

PrintQuality property

YResolution property

To set the specifications of an ePrint printer, update all of the properties referenced above and call the SetPrinterSpecifications method, which sets the updated properties.

See Also

Elements:

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

Topics:

ePrint: Getting and Setting Printer Specifications