This object is used to review and modify the global Internet Explorer settings. These settings apply to all Internet Explorer documents.
Set oPrinter = CreateObject("easyPDF.Printer.5")
Set oPrintJob = oPrinter.IEExtendedPrintJob
Set oIESetting = oPrintJob.IEExtendedSetting
' Set IE specific option
oIESetting.DisableScriptDebugger = True
oIESetting.DisplayErrorDialogOnEveryError = False
' Save changes
oIESetting.Save
oPrintJob.PrintOut "C:\input.htm", "C:\output.pdf"