Posts

Showing posts with the label ghostscript

Acrobat Distiller Kernel Mode Print Driver - Windows 7

Image
This should have been more obvious than it was. The application was trying to install the distiller driver from Adobe on a Windows 7 machine.  Windows 7 blocks Kernel Mode print drivers (apparently they cause blue screens, etc). Luckilly, I was able to find out the printer name the application was using.  In this case it was "Sybase DataWindow PS". I installed Ghostscript 9.02, which contains a driver that behaves exactly like the Adobe Acrobat Distiller.  The driver is located in  "C:\Program Files\gs\gs9.02\lib\ghostpdf.inf".  It can be installed manually using the Add Printer Wizard, or by using these commands: REM Install "Sybase DataWindow PS" for generating PDFs rundll32 printui.dll,PrintUIEntry /dl /n "Sybase DataWindow PS" rundll32 printui.dll,PrintUIEntry /if /b "Sybase DataWindow PS" /f "%PROGRAMFILES%\gs\gs9.02\lib\ghostpdf.inf" /r "file:" /m "Ghostscript PDF" The "/q" swit...

Trick Windows into using a newer version of Ghostscript

Image
Background For an unattended installation of a well known ticketing application, I ran into a application requirement of Ghostscript 7.05 for certain report functionality to work properly. Unfortunately, GS 7.05 cannot be installed silently due a bug in the installer. To work-around this, I installed Ghostscript 9.02 using the silent installer switch, but the ticketing software would not generate PDF reports as it was unaware of the new GS version with error "GhostScript version 7.05 is required..." Steps To remedy this, we added the registry keys for 7.05, but pointed them to the 9.02 installation directory.  This is how we did it (using a batch file): REM Silent install of Ghostscript 9.02   C:\gs902w32.exe /S REM Import Ghostscript 7.05 registry hack regedit.exe /s "C:\gs.reg" Here are the contents of "gs.reg": Windows Registry Editor Version 5.00   [HKEY_LOCAL_MACHINE\SOFTWARE\GNU Ghostscript] [HKEY_LOCAL_MACHINE\SOFTWARE\GNU Ghostscript\7...