This object is a specialized version of the PrintJob object. In addition to
all the features from PrintJob, the IEExtendedPrintJob object
includes numerous Internet Explorer specific capabilities.
IEExtendedPrintJob is different than other PrintJob derived
objects, such as IEPrintJob, because it does not
use the printer driver to convert HTML into PDF. IEExtendedPrintJob
also retains the hyperlinks during conversion.
The properties under IEExtendedSetting are
Internet Explorer specific, system-wide options, which apply to all
conversions. On the other hand, the rest of the properties under
IEExtendedPrintJob apply to the current conversion only, allowing
each document to be processed with its own settings. This behavior
is compatible with multi-threaded mode.
Set oPrinter = CreateObject("easyPDF.Printer.5")
Set oPrintJob = oPrinter.IEExtendedPrintJob
Set oIESetting = oPrintJob.IEExtendedSetting
' Set global IE specific option
oIESetting.DisableScriptDebugger = true
oIESetting.DisplayErrorDialogOnEveryError = false
' Save changes
oIESetting.Save
' Set document-specific IE options
oPrintJob.PageWidth = 11.0
oPrintJob.PageHeight = 17.0
oPrintJob.PrintOut "C:\input.htm", "C:\output.pdf"
' Set document-specific IE options
oPrintJob.PageWidth = 8.5
oPrintJob.PageHeight = 11.0
oPrintJob.ContentOrientation = PRN_CONTENT_ORIENT_VERTICAL
oPrintJob.PrintOut "C:\input.htm", "C:\output.pdf"