on ‎2016 Nov 18 11:14 AM
Hi guys,
I have read all the recent posts about powerbuilder and ghostscript.
I have downloaded GS v.9.20 for a windows2012 R2 installation , PB11.5.1.
Anyone got GS sybase datawindow PS working on a windows 2012 R2 please ? If yes, which gs version ? Any manual changes to perform to make this work ? No matter what i end up receiving 0 kb PDF files.
Been looking at this issue for 2 days straigth ...
TIA
John
Request clarification before answering.
For some versions of PowerBuilder, if you use the 64bit version as Chris suggests, you have to copy/rename gswin64.exe to gswin32.exe as it is hard coded within the PB runtime. In later versions they changed it to somehow figure out which one to use.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi John,
I think I posted this on the old forum so you may have already seen it and the versions I used were a bit different, but this is what I had to do to get Ghostscript PDF working for a PB 10.5 application on Windows Server 2012.
1. I installed the 32 bit version of Ghostscript and printer driver (Version 9.19)
2. Then I had to add the Ghostscript printer driver to the registry for the default account (see https://support.microsoft.com/en-au/kb/184291)
This is the registry file I ran to do that:
Windows Registry Editor Version 5.00
[HKEY_USERS\.DEFAULT\Software\Microsoft\Windows NT\CurrentVersion\Devices]
"Ghostscript PDF"="winspool,FILE:"
[HKEY_USERS\.DEFAULT\Software\Microsoft\Windows NT\CurrentVersion\PrinterPorts]
"Ghostscript PDF"="winspool,FILE:,15,45"
[HKEY_USERS\.DEFAULT\Software\Microsoft\Windows NT\CurrentVersion\Windows]
"UserSelectedDefault"=dword:00000001
"Device"="Ghostscript PDF,winspool,FILE:"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chris,
Thanks for your reply.
Yes, to be honest i tried them both 32 and 64. And so many other GS versions besides 9.20.
Do you have it working on a 2012 R2 Chris ?
TIA
John
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi John;
Did you use the 64bit version of GS in your W2012R2 environment?
Regards ... Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.