HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

[hylafax-users] sending faxes in pdf format via e-mail



Hi....

I work with the scripts that come in version 4.2.0-1 ...I configured the /etc/FaxDispatch file to send an e-mail depending on the device:


case "$DEVICE" in
       ttyS0)            SENDTO=garamirez@xxxxxxxxxxxx; FILETYPE=pdf;;
esac


In fact the mail arrives with a pdf file, but it's corrupt..

My solution was:

- Make sure you have the tiff2pdf installed
- Also make sure you have sendmail installed and it's working properly

Edit the /var/spool/fax/bin/faxrcvd file, and add the following variable:

TIFF2PDF=tiff2pdf

Now, comment the lines:

$TIFF2PS -a -O $FILE.ps $FILE > $ERRORSTO 2>&1    # fax2ps out......
$PS2PDF -g$GW\x$GL -r$RW\x$RL $FILE.ps $FILE.pdf > $ERRORSTO 2>&1

and add the following:

$TIFF2PDF $FILE -o $FILE.pdf > $ERRORSTO 2>&1

and...voila!

I'm using Mandrake 10.1 Official

I hope this work for everyone who want to send pdf files...


Giovanni Ramirez
Director Soporte Tecnico
Humanavivir E.P.S. S.A.
-- 
_______________________________________________
Check out the latest SMS services @ http://www.linuxmail.org
This allows you to send and receive SMS through your mailbox.

Powered by Outblaze

____________________ 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*




Project hosted by iFAX Solutions