Hylafax - Convert a Fax to a pdf File
Same script different acts
I. To have hylafax save incomming faxes in pdf format
(it will work to copy the whole selection into a executable file and run the script):
#cd /var/spool/hylafax/bin
#cp faxrcvd faxrcvd.original
#cp faxrcvd-mail faxrcvd-mail.original wget "http://www.hylafax.org/howto/faxrcvd/faxrcvd-pdf" wget "http://www.hylafax.org/howto/faxrcvd/faxrcvd-mail-pdf" mv faxrcvd-pdf faxrcvd mv faxrcvd-mail-pdf faxrcvd-mail
#/etc/init.d/hylafax restart
***********************************************
II. Converting a fax to a PDF-file
By default, HylaFAX will send a mail with a FTP-link by which you can view the fax. I certainly dislike this way. It's possible to have the incoming faxes converted to a PDF-file and then let them be mailed to you. First, navigate to this directory.
cd /var/spool/hylafax/bin
Now first make a backup of the file faxrcvd (just to make sure). Next, download these two scripts into the same directory :
http://www.hylafax.org/howto/faxrcvd/faxrcvd-pdf
http://www.hylafax.org/howto/faxrcvd/faxrcvd-mail-pdf
Rename these files to faxrcvd and faxrcd-mail. Now open the file faxrcvd-mail in your favorite text-editor and look for the line where it makes its calls to faxinfo. Doublecheck to see if the path is the correct one. Now save the file, stop and start HylaFAX and you should receive a PDF-Fax very soon.
**************************************************************************
-Vincent
I. To have hylafax save incomming faxes in pdf format
(it will work to copy the whole selection into a executable file and run the script):
#cd /var/spool/hylafax/bin
#cp faxrcvd faxrcvd.original
#cp faxrcvd-mail faxrcvd-mail.original wget "http://www.hylafax.org/howto/faxrcvd/faxrcvd-pdf" wget "http://www.hylafax.org/howto/faxrcvd/faxrcvd-mail-pdf" mv faxrcvd-pdf faxrcvd mv faxrcvd-mail-pdf faxrcvd-mail
#/etc/init.d/hylafax restart
***********************************************
II. Converting a fax to a PDF-file
By default, HylaFAX will send a mail with a FTP-link by which you can view the fax. I certainly dislike this way. It's possible to have the incoming faxes converted to a PDF-file and then let them be mailed to you. First, navigate to this directory.
cd /var/spool/hylafax/bin
Now first make a backup of the file faxrcvd (just to make sure). Next, download these two scripts into the same directory :
http://www.hylafax.org/howto/faxrcvd/faxrcvd-pdf
http://www.hylafax.org/howto/faxrcvd/faxrcvd-mail-pdf
Rename these files to faxrcvd and faxrcd-mail. Now open the file faxrcvd-mail in your favorite text-editor and look for the line where it makes its calls to faxinfo. Doublecheck to see if the path is the correct one. Now save the file, stop and start HylaFAX and you should receive a PDF-Fax very soon.
**************************************************************************
-Vincent