3 # psdf - DVI to PostScript printer filter
4 # Installed in /usr/local/libexec/psdf
6 # Invoked by lpd when user runs lpr -d
16 while getopts "x:y:n:h:" option
; do
21 *) echo "LPD started `basename $0` wrong." 1>&2
27 [ "$login" ] || fail
"No login name"
28 [ "$host" ] || fail
"No host name"
30 ( /u
/kelly
/freebsd
/printing
/filters
/make-ps-header
$login $host "DVI File"
31 /usr
/local
/bin
/dvips
-f ) |
eval /usr
/local
/libexec
/lprps
$orig_args