- Nageswara Rao Magapu
- PowerBuilder
- Thursday, 29 October 2020 10:40 AM UTC
Hi Everyone ,
We have upgraded our Printer from Adobe PDF to Nitro PDF . We ensured the Nitro settings are same as Adobe PDF .
But post upgrade PowerBuilder is not able to open the generated PDF and Failing with error as shown in screenshot .
My understanding is that it is not able to create the OLE object or not able to access the OLE object .Below is the Bold line of code where it is failing .
//Convert ps file to pdf file
lole_pdf = Create oleobject
lole_pdf.connectToNewObject("pdfdistiller.pdfdistiller")
lole_pdf.bShowWindow = FALSE
lole_pdf.filetopdf(trim(is_distiller_port),trim(as_client_dir) + trim(as_encrypted_filename)," ")
Destroy lole_pdf
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.