Zup wrote on 2018-08-15, 11:47:
Thanks for your reply.
I was thinking about using latest version of Ghostscript on a Windows 10 machine to do the conversion. Looking at my post, I didn't say that I was planning to use the ps2pdf included in GS, not a standalone build. The information about ghostpdf.ppd is the same I was talking about. I know how to use ppd files in Linux and Mac, and I've seen that there is a PS printer driver in Windows 2000 an later that can use any ppd file. I don't know if it is possible to use that ppd file in Windows 3.1.
That information about Ghostscript 4.03 is very interesing. I'm going to download it and see if there are instructions to use ps2pdf in Windows 3.1 (and which PS printer to use).
I have a need to use Ghostscript 4.03, as the current platform I'm working on uses an older version of DOSBox (0.72). This (at least the version I am using) does not have the slow 486 CPU option which I believe is needed for many Win32s applications to work under Windows 3.1 (including the available version of Adobe Distiller, and GSView 2.1 which I believe can convert PS to PDF in a GUI interface). However if Adobe Acrobat Professional 2.0 is ever archived that might also be an option, as it includes an alternate Adobe Distiller which is presumably 16 bit.
So, I am trying Ghostscript 4.03 as an alternative, and I have managed to get it working.
For anyone trying to use Ghostscript 4.03 for Postscript to PDF conversion, I found that the included batch files refer to a file gs.exe (or gs.bat) which does not exist. Renaming gswin16.exe to "gs.exe" results in an error: "Interpreter revision (261) does not match gs_init.ps revision"
The exe that should be run is gs386.exe. This can be copied to gs.exe to avoid editing the batch files. I was successfully able to convert the golfer.ps and tiger.ps samples from the GS directory. Note that this tool runs in DOS mode, and does not require Windows. After this change, it should be able to convert PS to PDF out of the box, at least the provided sample files.
To install is a little tricky as it comes in separate zips. (I believe this is because it was meant to be installed on different OSes, and some of the zips could be swapped out per OS).
Most of the files are located here.
http://www.ibiblio.org/pub/micro/pc-stuff/fre … ostscript/4.03/
You only need the following files:
gs403dos.zip
gs403fn1.zip
gs403ini.zip
gs403win.zip
You can also add the additional fonts, found here:
http://cd.textfiles.com/hobbesos29804/disk2/P … PT/GS403FN2.ZIP
To install, take the contents of gs403dos.zip, gs403ini.zip and gs403win.zip and unzip them so that their files are all in the same directory. ("C:\GS" might be appropriate, as it seems to be the default path for GhostScript.). The files should be in the root of your directory with no subdirectories. Don't worry about overwriting zip.txt.
Now put the files from gs403fn1.zip an gs403fn2.zip in a subdirectory "fonts" of your "GS" directory from the last step. You should now have a directory C:\GS with a lot of files, and a directory C:\GS\fonts with all the font files.
Copy gs386.exe to gs.exe, so you now have two copies of the file.
You can test by running "ps2pdf tiger.ps tiger.pdf". This command also worked from 386 enhanced mode in Windows 3.1.