How To Convert PostScript (eps/ps) to PDF with Ghostscript on Windows 10

In this tutorial you’ll do four things, if you’ve already done some of them, please skip ahead!

  1. Install Ghostscript
  2. Add the Ghostscript bin-/ and lib-folder to your windows PATH
  3. Open a Commandprompt at the location of your files
  4. Convert the Postscript file to a PDF

1. Install Ghostscript

  1. Navigate to Ghostscript.com/download
  2. Select the proper version.
    – I’m using Windows 10, 64 bit so I chose “Ghostscript 9.18 for Windows (64 bit)”.
  3. After downloading the installer, double-click on it and follow the instructions.

2. Add the Ghostscript bin-/ and lib-folder to your windows PATH

  1. Go to your Control Panel/Settings (Indstillinger in danish)control-panel-start-menu
  2. Search for “Variables” and pick either,search-variables
  3. Choose “Environment Variables” (.. or Miljøvariabler in danish)settings-for-system-variables
  4. Depending on whether you want the capabilities for all users on your system or only your user, you should locate the proper PATH variable.
    – I’m the only user on my system so I just located to my private PATH variable and clicked Edit (Rediger)environment-variables
  5. Click on “New” (Ny) and add the path to the bin-folder of Ghostscript. The bin-folder is located in the directory you installed Ghostscript in. I installed it in the default directory.
    editor-environment-variable-path
  6. Add the lib-folder like you did above with the bin-folder. If you installed it in the default directory it’ll look something like this when you’re done,after-bin-lib-added-variables

3. Open a Commandprompt at the location of your files

      1. Navigate to the folder containing your files in the file explorer
      2. (if you SHIFTRIGHT CLICK you can choose something like “Open commandwindow here”, Åbn kommandovindue her in danish).open-command-window

4. Convert the Postscript file to a PDF

      1. Write ps2pdf input.ps output.pdf. Like below,command-window-convert
      2. Observe how there’s now a beautiful .pdf available,command-window-convert-done

Congratulations! You’ve successfully converted a Postscript file to a PDF!

Leave a Reply

Your email address will not be published. Required fields are marked *