User Rating: 3 / 5

Star ActiveStar ActiveStar ActiveStar InactiveStar Inactive

** “Kool” Tip **

GhostScript on Windows 10

PDF Generation for PowerBuilder Classic 


   Most PowerBuilder developers know that the DataWindow object class in PowerBuilder (PB) Classic utilizes the open source (GNU) version of the GhostScript (GS) software to convert PostScript printer output into an Adobe PDF (Portable Data Format) file. The challenge this year for PB Developers moving into the MS-Windows version 10 domain, is that all drivers must be signed in order for the new O/S to accept the driver. This creates an issue for the GS installation as even the latest version 9.21 does not supply signed MS-Windows drivers.

  The good news though is that the PB Developer can get around this roadblock in the new O/S by following the procedure I used below to install GS v9.16. Without this technique, the GS install will not complete due to finding an unsigned driver. The install will in fact get stuck in a closed loop … select the .INF, get an unsigned driver message, click next, get an unsigned error and voila – your back at the select the .INF file part again in the MS-Windows 10 install printer wizard!

   The following procedure is what I used to circumvent the unsigned GS driver issue in W10, as follows:

1) Hold down the SHIFT key while you click Restart.

2) Once your computer has rebooted, choose the Troubleshoot option.


3) Then select the Advanced options.

4) You will now be prompted to restart your Computer again.
5) After restarting, you will need to press the F7 key!

6) Now your PC will reboot and you will be able to install unsigned drivers without any error messages! 

Now during the GhostScript installation, once you get to selecting the printer driver from the GS installation’s LIB folder, you should now see the MS-Windows security dialogue allowing the GS Driver to be installed even though its not signed!

    I have now implemented the above procedure on many W10 PC’s and have successfully built PDF files from PB 11.5.1, 12.1, 12.5.1 and 12.6 running on W10. I hope that this information will help you in your PB adventures into the W10 realm.

Regards … Chris


Comments (1)

  1. Heino Hellmers


as far as we know ghostscript driver is signed already for a longer time.

Just install setup. No special needs. No pain!

Just do a litte check. :-)

Ghostscript works fast and creates good small pdf files.

But remember the AGPL license

Your account does not have privileges to view attachments in the comment
There are no comments posted here yet
.NET Assembly .NET DataStore .NET Std Framework 32-bit 64-bit ActiveX Android API Application Array Authentication Authorization Automated Testing Azure BLOB Branch & Merge Bug C# Charts CI/CD Class CoderObject COM Configuration CrypterObject Data Database Database Connection Database Object Database Painter Database Profile Database Table Database Table Data Database Table Schema DataType DataWindow DataWindow JSON Debug Debugger Debugging Deployment Design DevOps DLL DragDrop Elevate Conference Encoding Encryption Error Event Event Handler Event Handling Excel Export Export JSON Expression External Functions File Filter GhostScript Git Graph HTTPClient Icon IDE Import Import JSON InfoMaker Installation Interface iOS Jenkins JSON JSONGenerator JSONParser License Linux OS Menu MessageBox Messagging Migration Mobile Model NativePDF OAuth OAuth 2.0 ODBC OLE Open Source Oracle OrcaScript Outlook PBDOM PDF PDFlib Performance PFC Platform PostgreSQL PostgreSQL ODBC driver PowerBuilder PowerBuilder (Appeon) PowerBuilder Compiler PowerScript (PS) PowerServer Mobile PowerServer Web Repository Resize REST RESTClient RibbonBar RibbonBar Builder RichTextEdit Control Script SDK Service SnapDevelop SnapObjects SOAP Sort Source Code Source Control SQL SQL Server SqlExecutor SqlModelMapper Stored Procedure SVN Syntax Testing Text TFS TLS/SSL TortoiseGit Transaction TreeView Trial UI UI Modernization UI Themes Validation Variable Web API Web Service Proxy WebBrowser WinAPI Window Windows 10 Icons Windows OS XML
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.