1. Vijay Kumar Natarajan
  2. PowerBuilder
  3. Monday, 30 September 2024 03:54 AM UTC

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.

 

 

 

 

 

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Monday, 30 September 2024 12:47 PM UTC
  2. PowerBuilder
  3. # 1

Hi Vijay;

  I wonder if trying a current version of ghostscript like 

version 10.04.0 might be worth a try?

Regards ... Chris 

Comment
  1. Vijay Kumar Natarajan
  2. Monday, 30 September 2024 16:12 PM UTC
Hi Chris and Armeen,



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
  1. Helpful
  1. Chris Pollach @Appeon
  2. Monday, 30 September 2024 17:59 PM UTC
Hi 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
  1. Helpful 1
  1. Vijay Kumar Natarajan
  2. Monday, 30 September 2024 19:58 PM UTC
Thank you Chris for your support!



Best Regards,Vijay
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.