![]() |
Hello Razidan and HylaFAX friends,
On Wed, Jan 09, 2008 at 03:23:22PM +0800, razidan wrote:thanx. i have read the man page about tiff2pdf. i undesratnd that's the file that will do the conversation. i m just at a lost as to where and how to insert into the faxrcvd script.
Jason Wachholz wrote:script in a conversion using tiff2pdf usually in /usr/local/bin/tiff2pdf. see man tiff2pdf for details. This only creates a new pdf file, leaving the tiff intact.
On Jan 8, 2008 2:13 PM, razidan <razidan@xxxxxxxxxxxxxxx> wrote:guys, i need some pointers...
currently, received faxes appear in our /var/spool/hylafax/recvd in tiff format. how i do modify the facrcvd script so that faxes are kept in both tif and pdf format?
thanx. raz. hylafax+ 5.2.
Just put something like:
case "${ARCHIVE_FAX}" in "always")
TIFF2PDF="/usr/local/bin/tiff2pdf"
${TIFF2PDF} -o archive/$FILENAME.pdf -pA4 ${FILE};;
"never")
;;
esac
in your faxrcvd script. Be aware to rename the script to faxrcvd-whatever and put:
FaxRcvdCmd: bin/faxrcvd-whatever
in your modem config file, e.g. something like etc/config.cuad4. This prevents the script from being overwritten upon a HylaFAX update.
On request I can send you my faxrcvd script, but it is quite adapted to my needs and UNIX FreeBSD-flavour. Although if you are skilled enough you can re-adapt it, or read and copy from it for your needs.
____________________ HylaFAX(tm) Users Mailing List _______________________ To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*