HylaFAX The world's most advanced open source fax server

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

[hylafax-users] help needed!!



Scenario:
 
I have installed Hylafax on my slackware linux file-server. I want that all faxes can get automatically printed to the attached Brother Fax machine. Note that this machine also serves as the samba print server & I'm using all the jobs to use the samba print queue. Each fax should also be converted to PDF & saved in shared folder "/home/public/FAX", using date & time for the file name. To do this can I add the following lines in "faxrcvd" file??????
 
Proposed Solution:
 
FILENAME=`echo $FILE | sed -e 's/\.tif//'`
/usr/bin/tiff2ps -a $FILE | lpr -P BrotherFax -o natural-scaling=95 -o media=letter
/usr/bin/tiff2ps -a -O $SPOOL/$FILENAME.ps $SPOOL/$FILE
/usr/bin/ps2pdf $SPOOL/$FILENAME.ps $SPOOL/$FILENAME.pdf
mv $SPOOL/$FILENAME.pdf /home/public/FAX/
Now, here I'm stuck. How can I use the date & time for the filename??
 
Kindly guide me to do the above mentioned tasks. Your instance help is highly appreciated.
 
Regards,
 
Rizwan.


Protect your PC - Click here for McAfee.com VirusScan Online ____________________ 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