Would you all mind helping me out?
I cannot get postscript stuff to print right. I'm following the
directions in the FreeBSD manual and just don't know where I am messing
up. plain text works fine.
Here are my files:
lp|epson|Epson Stylus Color 500:\
first_two_chars=`expr "$first_line" : '\(..\)'`
if [ "$first_two_chars" = "%!" ]; then
# It is PostScript; use Ghostscript to scan-convert and print it.
exec 3>&1 1>&2
/usr/local/bin/gs -dSAFER -dNOPAUSE -q -sDEVICE=stcolor \
-sOutputFile=/dev/fd/3 - && exit 0
/usr/local/bin/gs -dSAFER -dNOPAUSE -q \
-sDEVICE=stcolor -r720x720 stcolor.ps\
-sOutputFile=- - \
&& exit 0
cat && printf "\f" && exit 0