- Rob Stevens
- PowerBuilder
- Monday, 28 August 2023 01:50 AM UTC
Hi
I'm not sure how to request an enhancement to PowerBuilder. I note that 2022 R2 has enhancements for PDF documents. There is no print function though.
Some of our clients prefer to print their documents that our application generates in house. We store the documents (pdfs) as blobs in the database and have a function that extracts to the local directory and then prints (currently using DDE and Adobe Acrobat Reader so that we can tell whether the print succeeds or not). DDE is obviously on the way out and it is a pain when the client upgrades their version of adobe reader.
It would be create if we could create a PDF Document object from the blob in the database and then call a print function to print it (and get a result back from the function that it was successfully put on the print queue).
In addition, I looked at using the WebBrowser object but when you call Print it pops the print dialog. It would be nice if you could call the function and suppress the dialog.
Regards
Rob
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.