#!/bin/sh # This script generates a pdf file from an existing postscript file. # This script takes two command line arguments. # The first is the name of the existing postscript file. # The second is the name of the pdf file to be written. echo "Input Postscript File = $1" echo "Output PDF File = $2" gs -q -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile="$2" "$1"    Source: geocities.com/mobrien_12