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

GenericPrintJob Object Description

This object is a specialized version of PrintJob object. In addition to all the features from PrintJob object, GenericPrintJob object includes some extra features.

If you do not want PrintJob object to automatically choose one of the specialized PrintJob (for example, PrintJob will choose WordPrintJob for .txt files even if the system's default application maybe Notepad) for printing, use this object instead. Otherwise, using PrintJob object is always a recommended choice.

Example Usage

Set oPrinter = CreateObject("easyPDF.Printer.8")
Set oPrintJob = oPrinter.GenericPrintJob
oPrintJob.PrintOut "C:\test\input.txt", "C:\test\output.pdf"