Setting and Getting ePrint Printer Specifications

The LEADTOOLS ePrint 5 COM also provides means for getting and setting the ePrint Printer settings:

image\sqrblit.gif The GetPrinterSpecifications and the SetPrinterSpecifications methods allow the user to get and set specifications of an ePrint printer through the IEpnPrinterSpecifications object. These two methods set and retrieve the IEpnPrinterSpecifications object following properties:

DimensionsInInches property

MarginsPrinter property

PaperHeight property

PaperID property

PaperSizeName property

PaperWidth property

PortraitOrient property

PrintQuality property

YResolution property

image\sqrblit.gif The GetPrinterSaveOptions and the SetPrinterSaveOptions methods allow the user to get and set file save options of an ePrint printer through the IEpnMultiSaveOptions object. These two methods set and retrieve the IEpnMultiSaveOptions object following properties:

image\sqrblit.gif PrinterSaveOptions property: an IEpnPrinterSaveOptions object containing the NamingOptions and SaveOptions read-only properties.

image\sqrblit.gif SaveElementsCount property

image\sqrblit.gif UseSave property

image\sqrblit.gif The GetPrinterMailMessageInfo and the SetPrinterMailMessageInfo methods allow the user to get and set the mail message information of an ePrint printer through the IEpnMailMessageInfo Object. These two methods set and retrieve the IEpnMailMessageInfo object following properties:

Bcc property

Body property

Cc property

EmailSaveOptionsIndex property

Subject property

To property

UseMail property

image\sqrblit.gif The GetPrinterBatchPrintersList and the SetPrinterBatchPrintersList methods allow the user to get and set printers list of an ePrint printer through the IEpnPrinterList object. These two methods set and retrieve the IEpnPrinterList object following property:

PrintersCount property

image\sqrblit.gif The GetPrinterUISettings and the SetPrinterUISettings methods allow the user to get and set the user interface configuration of an ePrint printer through the IEpnUISettings object. These two methods set and retrieve the IEpnUISettings object following properties:

AboutIcon property

AboutString property

FormatsCount property

SaveFormats property

ShowOptions property

image\sqrblit.gif The GetPrinterConflictSolving and the SetPrinterConflictSolving methods allow the user to get and set the conflict solving mechanism for output file names of an ePrint printer through the IEpnRenamingOptions object. These two methods set and retrieve the IEpnRenamingOptions object following properties:

Alpha property

AlphaNum property

Num property

Suffix property

TagOptions property

image\sqrblit.gif The SetPrinterEmailConfiguration method allows the user to set the e-mail configurations of an ePrint printer through the IEpnMailConfigurationSettings object. This method sets the IEpnMailConfigurationSettings object following properties:

image\sqrblit.gif Flags property

image\sqrblit.gif IsMAPI property

image\sqrblit.gif MAPIPassword property

image\sqrblit.gif MAPIProfileName property

image\sqrblit.gif SMTPAuthorSettings property: a read-only IEpnSmtpAuthorSettings object containing the EmailAddress, Name, Organization, ReplyAddress properties.

image\sqrblit.gif SMTPServerSettings property: a read-only IEpnSmtpServerSettings object containing the AccountName, AccountPassword, Authentication, PortNumber, ServerTimeout, SmtpMailServer properties.

image\sqrblit.gif UseDefaultMapiProfile property

image\sqrblit.gif The GetDefaultEnhancedOptions method allows the user to get the default enhanced printing options through the IEpnEnhancedOptions object. This method retrieves the IEpnEnhancedOptions object following properties:

BestFit property

Borders property

EnhancedOptions property

Gutter property

GutterInside property

GutterUnit property

GutterWidth property

HorizontalAlign property

Layout property

Margin property

MarginOffset property

Ordering property

PrintingMethod property

Repeat property

RightToLeft property

VerticalAlign property

image\sqrblit.gif The GetDefaultNamingOptions method allows the user to get the default file naming options through the IEpnNamingOptions object. This method retrieves the IEpnNamingOptions object following properties:

image\sqrblit.gif Alpha property: a read-only IEpnAlphaTagData object containing the CharactersCount, CounterAlphaEnd, CounterAlphaStart, CounterInitialValue, CounterStep, MaskPaddingChars, UpperCase, and UseMask properties.

image\sqrblit.gif AlphaNum property: a read-only IEpnAlphaNumTagData object containing the CharactersCount, CounterAlphaEnd, CounterAlphaStart, CounterInitialValue, CounterNumEnd, CounterNumStart, CounterStep, MaskPaddingChars, UpperCase, UseMask properties.

image\sqrblit.gif DateType property

image\sqrblit.gif Num property: a read-only IEpnNumTagData object containing the CounterInitialValue, CounterStep, DigitsCount, MaskPaddingDigits, UseMask properties.

image\sqrblit.gif SourceCase property

image\sqrblit.gif TagOptions property

image\sqrblit.gif TimeType property

image\sqrblit.gif The GetDefaultRenamingOptions method allows the user to get the default file renaming options through the IEpnRenamingOptions object. This method retrieves the IEpnRenamingOptions object following properties:

image\sqrblit.gif Alpha property: a read-only IEpnAlphaTagData object containing the CharactersCount, CounterAlphaEnd, CounterAlphaStart, CounterInitialValue, CounterStep, MaskPaddingChars, UpperCase, and UseMask properties.

image\sqrblit.gif AlphaNum property: a read-only IEpnAlphaNumTagData object containing the CharactersCount, CounterAlphaEnd, CounterAlphaStart, CounterInitialValue, CounterNumEnd, CounterNumStart, CounterStep, MaskPaddingChars, UpperCase, UseMask properties.

image\sqrblit.gif Num property: a read-only IEpnNumTagData object containing the CounterInitialValue, CounterStep, DigitsCount, MaskPaddingDigits, UseMask properties.

image\sqrblit.gif Suffix property

image\sqrblit.gif TagOptions property