SetPrinterMailMessageInfo method (IEPrint)

Visual Basic example

Visual C++ example

 

Syntax

short SetPrinterMailMessageInfo(BSTR pszPrinterName, IEpnMailMessageInfo *pMailMessage);

Overview

Refer to Setting and Getting ePrint Printer Specifications

Remarks

Sets the mail message information 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 the mail message information of an OEM printer, the user must first install the OEM printer using InstallOEMPrinter method.

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

Bcc property

Body property

Cc property

EmailSaveOptionsIndex property

Subject property

To property

UseMail property

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

Note that before e-mailing the saved files, you should set the e-mail configurations by calling the SetPrinterEmailConfiguration method.

See Also

Elements:

UnlockSupport method, InstallOEMPrinter method, GetPrinterMailMessageInfo method; SetPrinterEmailConfiguration method, Bcc property, Body property, Cc property, EmailSaveOptionsIndex property, Subject property, To property, UseMail property

Topics:

ePrint: Getting and Setting Printer Specifications