SetPrinterUISettings method (IEPrint)

Visual Basic example

Visual C++ example

 

Syntax

short SetPrinterUISettings(BSTR pszPrinterName, IEpnUISettings *pUISettings);

Overview

Refer to Setting and Getting ePrint Printer Specifications

Remarks

Sets the user interface configuration of an ePrint printer.

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

These settings will be used whenever the user prints using this ePrint printer.

When setting user interface configuration of an OEM printer, the user must first install the OEM printer using InstallOEMPrinter before calling this method.

Before calling this method, the user should set the values of the following properties of the IEpnUISettings object:

AboutIcon property

AboutString property

FormatsCount property

SaveFormats property

ShowOptions property

Note that the SaveFormats property is a read-only interface property that contains multiple sub-properties. Calling the SetPrinterUISettings method sets each individual sub-property associated with the interface properties.

To get the current values for the above properties, call the GetPrinterUISettings method.

See Also

Elements:

UnlockSupport method, InstallOEMPrinter method, AboutIcon property, AboutString property, FormatsCount property, SaveFormats property, ShowOptions property, GetPrinterUISettings method

Topics:

ePrint: Getting and Setting Printer Specifications