#! /usr/bin/bash # # This file is considered part of the software distribution, # and any changes made to it may get overwritten in a # subsequent upgrade or reinstallation. Instead of making # changes here, directly, consider copying the entire # default MIMEConverters directory to a custom location, i.e. # /usr/local/sbin/faxmail.custom, set MIMEConverters in # hyla.conf to point there, and make changes there instead. # GSRIP=gs DEVICE=pswrite . /var/spool/hylafax/etc/setup.cache # # Some reports indicate that ps2write output can look better than # pswrite, but in some cases ps2write output will be just wrong. # Enable this with care. # #if [ -n "`$GSRIP -h | $GREP ps2write`" ]; then # DEVICE=ps2write #fi $GSRIP -q -dPDFFitPage -dBATCH -dNOPAUSE \ -sDEVICE=$DEVICE -sOutputFile=- "$1" exit