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] Incoming faxes directly to PDF.



> I have searched high and low to find an answer to this, but it still eludes
> me.  What I would like to do is have all incoming faxes stored in the
> /etc/faxrecvq directory as PDF files rather than as TIFFs.  I know that you
> can convert to PDF easily for fax forwarding via e-mail.  Rather than that,
> I just want the fax dumped directly as a .PDF file.  Possible?  If it's not
> possible to do it directly, could there be an automated conversion that
> takes place and the old (tif) file deleted after conversion?  Any help is
> greatly appreciated.  Please reply to my e-mail. Thanks!!!
This is exactly what I'm doing to archive faxes... 
Mine is converting to pdf.. dumping links into mysql, and a web interface to 
search/view them later..

the important line from my ./bin/faxrcv script is as follows...

/usr/bin/tiff2ps -a2 -z $FILENAME | /usr/bin/ps2pdf - $NAME.pdf >> 
/var/spool/fax/bin/messages.txt 2>&1

This is put into the script after the 
if [ -f $FILE ]; then
stuff...

Maybe I'm a bit "hackish" but I haven't had any problems yet

-- 
Cam Coble
IT Manager
Roanoke Stamp
www.usacustom.com

 "any sufficiently advanced technology
    is indistinguishable from magic."
          -- Arthur C. Clark

____________________ 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@hylafax.org < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.*




Project hosted by iFAX Solutions