Gets IEExtendedPrintJob object. It uses Internet Explorer to render HTML content into PDF, with capturing the hyperlinks as well. There is no printer driver involved in the process.
If you need to set Internet Explorer specific options, use this specialized object instead of generalized PrintJob object. However, do not use this object for printing documents other than the ones Internet Explorer can handle.
Set oPrinter = CreateObject("easyPDF.Printer.8") Set oPrintJob = oPrinter.IEExtendedPrintJob ' Set IE Extended specific option oPrintJob.PageWidth = 8.5 oPrintJob.PageHeight = 11.0 oPrintJob.PrintOut "C:\test\input.htm", "C:\test\output.pdf"