1. Roland Smith
  2. PowerBuilder
  3. Friday, 6 July 2018 18:39 PM UTC

When you install GhostScript, the bin folder has multiple exe files.

My question is which one does PB 2017 use? Is it gswin32c.exe like older versions, gswin64c.exe or does it depend on some condition?

I am Printing the DataWindow to a PostScript file and then doing a RunAndWait on gswin32c.exe passing the same arguments that PowerBuilder normally passes. This gives me control over the name of the .ps file. This allows multiple copies of the PB app running on a server at exactly the same time to avoid stepping on each other's toes.

 

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 6 July 2018 18:49 PM UTC
  2. PowerBuilder
  3. # 1

Hi Roland;

      PB does not run any of the GS EXE's as this is the responsibility of the PostScript printer driver that the "Sybase DataWindow PS" printer is defined to. If you on any 64bit version of MS-Windows - then the GSWIN64.exe application should be the one that gets loaded. You can easily test this by renaming the EXE's until GS PDF fails.

     BTW: You should only be installing GS 64 bit on an MS-Windows 64 bit host. Also, only map the "Sybase DataWindow PS" printer to the .INF file that is supplied with GS.

HTH

Regards ... Chris

Comment
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.