#!/bin/sh # Send a PS file to a printer. # # Argument 1 = working directory # Argument 2 = name of PS file. # Argument 3 = if set, name of the printer. cd $1 if test "$3" then exec @LP@ -d $3 $2 else exec @LP@ $2 fi