Introduction to Geographic Information Systems in Forest Resources
UW Home GIS@UW Search
Syllabus Schedule Class Meetings Assignments Course Data
Contact Us CFR 520 Lab Locations Software Collect It Page


Creating a PDF File Using Ghostscript/Ghostview/GSView

Ghostscript, Ghostview, and GSView are freeware postscript interpreters. They can be used to convert postscript files to a number of different file formats. The software is included on your course CD. In this example, a postscript print file is being converted to Adobe PDF.
  1. Download & install Adobe's generic postscript driver
  2. Print a file using the postscript driver
  3. Configure GSView
  4. Open the postscript file in GSView
  5. Convert the postscript file to a PDF
  6. Verify the PDF

****Use proper naming convention of your files - the following steps are for guidance only.


Download & install Adobe's generic postscript driver

You will need a postscript printer driver installed on your computer in order to generate a postscript file for Ghostscript. If you have a postscript printer installed on your system, then simply use that printer. If you do not have a postscript printer, you can install the generic one available at Adobe. Follow instructions on the web site or in the printer driver package.

As of this writing, the driver is available at www.adobe.com/support/downloads/main.html.

 


Print a file using the postscript driver

Once you have the printer driver installed, print your document as you normally would, but make sure to select the postscript driver.

Check the box for Print to file.

Click OK.

Navigate to the location where you want to save the print file, and give the file a descriptive name:

Click OK to create the printer file. Even if this file has the file extension prn, it will be a postscript file and should be able to be opened in GSView.

 


Configure GSView

GSView will need to be configured before working properly. Open GSView by double-clicking the gsview32.exe file in the \gv\gsview\gsview directory on the CD.

GSView will open. Click OK on the GSView Registration dialog.

From the Options menu, select Advanced Configure.

Wherever you see the string C:\gs in the Ghostscript DLL and Ghostscript Include Path controls, replace with X:\gv\gscript, where X is the drive letter of your CD drive, like so:

Click OK. Now GSView will know where to look for some essential files.

 


Open the postscript file in GSView

From GSView's File menu, select Open. Navigate to the directory containing your prn file. Double click the file to open it in GSView.

The file should look nearly identical to how it looked when it was created in the original application.

 


Convert the postscript file to a PDF

From the File menu, select Convert.

Select the pdfwrite Device, and 600 as the Resolution. Click OK.

The Output Filename dialog will open. Navigate to the directory in which you want to save the file. In the File name control, enter the name of the file as you want it to be named. Make sure to enter the entire file name, including the .pdf extension, otherwise GSView will leave the extension off.

Click Save.

 


Verify the PDF

Open the PDF file you just created to verify it was converted correctly.

 

Return to top   


Syllabus Schedule Class Meetings Assignments Course Data
Contact Us CFR 520 Lab Locations Software Collect It Page

 

The University of Washington Spatial Technology, GIS, and Remote Sensing Page is supported by the School of Forest Resources
School of Forest Resources