HylaFAX The world's most advanced open source fax server

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

Re: [hylafax-users] tiff and pdf files in /var/spool/hylafax/recvd



I just want to be able to store files in different directories depending on the extension dialed... i tried the following picking from the below email and got nothing .. am I doing something wrong?
/var/spool/hylafax/etc/FaxDispatch##############


1923) /usr/bin/tiff2pdf -o /home/shawn/test.pdf $FILE;;
################################################

razidan wrote:
thanx for the feedback. i will try and respond.

Willy Offermans wrote:
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*




---------------------------------------------------------------------------------------------------

Text inserted by Panda IS 2008:

This message has NOT been classified as spam. If it is unsolicited mail (spam), click on the following link to reclassify it: http://localhost:6083/Panda?ID=pav_13934&SPAM=true&path=C:\Documents%20and%20Settings\shawn\Local%20Settings\Application%20Data\Panda%20Software\AntiSpam

---------------------------------------------------------------------------------------------------





____________________ 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