#!/bin/sh # If you're the only user of a machine, there's no particular need for an lpd, # provided you don't mind having applications sit around for a while when the # printer's busy... print='setlock /tmp/lpr.lock gs -q -sPrintQuality=Draft -dBATCH -dNOPAUSE -dSAFER -sDEVICE=bj200 -sOutputFile=/dev/lp0' if [ "x$1" = "x" ] ; then cat >/tmp/$$.ps ($print /tmp/$$.ps ; rm /tmp/$$.ps) & else $print "$@" & fi