Hello,
I have a Powerbuilder application running in Windows 2016 Servers as multiple instances in same server. Application uses Ghostscript Distill Method and data from datawindow is saved as PDF File. This works well for normal scenarios. But when there are multiple Print request comes to these applications on the same server, sometimes, the PDF File generated has the PDF Document title from one instance of PB application and the contents of the PDF file is from another PB Application which has processed. I am unclear on this issue and how to overcome this problem. I am suspecting the Ghostscript is the cause of this issue as the files are saved in same server though multiple application processed PDF Creations.
Unfortunately, I am not able to recreate this issue in Pre-Production environment. This issue happens when there are multiple request coming in exact same times (and again not every time this mix of documents are occurring). If I reprocess the Mixed Print Job, the PDF document is created without any problems.
DataWindow.Print.documentname = Unique FileName is created as Title and set to this Datawindowow
This DataWindow is then SaveAs PDF File.
Application: PB 12.5.2 32-Bit Application (Application will be started as 8 instances in 1 single Windows 2016 Server)
GhostScript: 9.19 Version
Any suggestions would be greatly appreciated. Looking for an immediate solution on this issue.
Thank you.
Thank you so much for your responses.
Sure, will plan for upgrade and see how this functions in latest version.
Sorry an additional question - after upgrade to Latest version for example PB 2022 R2 Version - Since my application is 32 bit, should I continue to build as 32 bit? (My application uses Win32 functions in winspool.drv, kernel32.dll, Create folder using Win32..etc)
Thank you,
Vijay
FYI: Current Appeon PB is version 2022 R3.
Yes, I would stay in 32 bit mode for now to deploy your Apps in 32 bit mode. Then move to 64 bit (if desirable) as a separate project. HTH
Regards ... Chris
Best Regards,Vijay