BCL easyPDF SDK
easyPDF SDK Usermanual
PDF Creator Programming API  |  Download Free Trial  |  Contact Us to Purchase

IEPrintJob Object Description

This object is a specialized version of PrintJob object. In addition to all the features from PrintJob object, IEPrintJob object includes numerous Internet Explorer specific features.

If you need to set Internet Explorer specific options, use this specialized object instead of generalized PrintJob object. Use IESetting property to set IE options if you just need all your document printed with same settings.  On the other hand, set the rest of properties independently other than IESetting to enable each document with its own settings (in multi-threaded mode).

Example Usage


' All documents with same settings
Set oPrinter = CreateObject("easyPDF.Printer.8")

Set oPrintJob = oPrinter.IEPrintJob
Set oIESetting = oPrintJob.IESetting

' Set IE specific option
oIESetting.Header = ""
oIESetting.Footer = ""

' ...

' Save changes
oIESetting.Save

oPrintJob.PrintOut "C:\test\input.htm", "C:\test\output.pdf"


' Each document with its own settings
Set oPrinter = CreateObject("easyPDF.Printer.8")

Set oPrintJob = oPrinter.IEPrintJob

' Set IE specific option
oPrintJob.Header = ""
oPrintJob.Footer = ""
oPrintJob.PaperOrientation = PRN_PAPER_ORIENT_LANDSCAPE

' ...

oPrintJob.PrintOut "C:\test\input.htm", "C:\test\output.pdf"