College of Arts and Sciences

Department of Mathematics

Postscript (.ps) files - how to read and print them

On the command line type:

gv filename.ps

This will open the file in ghostview which will allow you to read and print postscript (.ps) files. Ghostview is on all the Linux RedHat machines.

"Sometimes" the above method "doesn't" work. If it doesn't, open the file and make sure the topmost line is the following:

%!PS-Adobe-2.0

Then print it with the following command:

lpr -Phpr1 your filename here.ps (substitute the correct printer for hpr1)


Make a .ps file into a .pdf file with ps2pdf

A Linux machine can read a postscript file by using ghostview but Windows machines are unable to read .ps files. You can convert a postscript file to .pdf so that a Windows machine can read it through Acrobat Reader. To do so, use the following command:

ps2pdf (filename).ps (filename).pdf

Department of Mathematics, PO Box 643113, Neill 103, Washington State University, Pullman WA 99164-3113 Phone: 509-335-3926 Fax: 509-335-1188 Contact Us