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

Printer Object Description

ProgID

easyPDF.Printer.7

CLSID

4DD81177-5544-4900-9019-7E1FB2B7299B

UUID

EA8A1E91-64A1-4ddf-BBC5-F89F169D432B

This object represents an easyPDF Printer. This is the entry point for accessing all of the easyPDF Printer SDK features.

Example Usage

Set oPrinter = CreateObject("easyPDF.Printer.7")
Set oPrintJob = oPrinter.PrintJob
oPrintJob.PrintOut "C:\input.doc", "C:\output.pdf"

Visual C++ 6

Due to a defect in Visual C++ 6, the #import directive generates the wrong code, which does not compile. Fortunately you can use #import with Visual Studio 2005, which generates code that then compiles under Visual C++ 6. We have already done this for you and generated the necessary import code (bepprint.tlh, bepprint.tli). Here is how to use easyPDF Printer 7 from Visual C++ 6:

#include "C:\Program Files\Common Files\BCL Technologies\easyPDF 7\bepprint.tlh"

If you must use special #import attributes, such as named_guids, rename or exclude, use Visual Studio 2005 to generate the tlh and tli files. You must then manually remove the first 3 characters (the UTF-8 Byte Order Mark) in both files, because VC6 is not Unicode compliant. Otherwise the code generated by Visual Studio 2005 will compile under VC6. Using #import directly from VC6 is unfortunately not possible.

Visual C++ 2005, 2008, 2010

Modern versions of Visual C++ do not exhibit the above mentioned problem. easyPDF SDK 7 should be imported the following manner:

#import "progid:easyPDF.Printer.7"

If you need to support multiple versions of Visual Studio, we recommend this solution:

#if _MSC_VER <= 1200 // VC6 or older
#include "C:\Program Files\Common Files\BCL Technologies\easyPDF 7\bepprint.tlh"
#else
#import "progid:easyPDF.Printer.7"
#endif