This object represents a print job. Use this object to print a
document into PDF file.
Using PrintJob object is the recommended choice if you do not need to set any file format specific options because it is the simplest to use. PrintJob object will detect the input file format, and select the specialized PrintJob internally.
Set oPrinter = CreateObject("easyPDF.Printer.8") Set oPrintJob = oPrinter.PrintJob oPrintJob.PrintOut "C:\test\input.doc", "C:\test\output.pdf"