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

ImagePrintJob Object Description

This object is a specialized version of PrintJob object. Using PrintJob object is recommended, rather than accessing ImagePrintJob object directly, since ImagePrintJob object does not currently offer any extra methods or properties.

ImagePrintJob is different than other PrintJob derived objects because it does not use the printer driver to convert images into PDF. Therefore, you do not need any external host application when converting the file types supported by ImagePrintJob.
The file types supported by ImagePrintJob object are BMP, GIF, JPEG, PNG, TIFF, WMF, and EMF. EMF+ is also supported, but text could turn into raster images in the PDF.

Example Usage

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