I receive an error message, "Cannot create automation object".
1) I have PDF-XChange 4.0 installed as default printer, and the printer name is "PDF-XChange."
Now we have a Notes application, where I'm using the following coding to set an OLE Automation object, coding doesn’t work with the error message "Cannot create automation object" - the coding is as below.
I know there must be problem with the parameters in 'CreateObject', but I don't know what the right application name / Class name for PDF-XChange 4.0.
2) How can I tell the system to wait until the print job is done?
Code (VBA):
Dim objPrinter As Variant
set objPrinter = CreateObject( "PDFXChange.clsPDFXChange")
1) See code below for creating printer object:
Code (VBA):
Cookies are necessary in order to enable you to move around the website and use its features,
including making purchases through our online store.
We need cookies in order to determine the number of unique users who visit the site,
and to provide certain features, such as the login functionality.
We do not use cookies for advertising purposes.
By clicking "Accept" (or continuing to use the site) you are agreeing to our use of these tools.
Learn More
You can contact us by phone, email or our social media accounts — we are here to assist you.