HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
[hylafax-users] Printing incoming faxes, but not all?
Hi list!
I currently have a setup where all incoming faxes are routed and printed.
For this i added a line at the very end of FaxDispatch :
/usr/bin/tiff2ps -a -h 11.1082 -w 7.8543 $FILE | lpr -P faxprinter
However, i am looking for a way to print only faxes to a certain DID, and
the others should just be e-mailed.
Can i also add a printing command somewhere between these lines in
FaxDispatch (and how)?
case "$CALLID4" in
12345678)
SENDTO="iwantaprintout@xxxxxxx";
FILETYPE=pdf;
;;
87654321)
SENDTO="idont@xxxxxxx";
FILETYPE=pdf;
;;
esac
I tried to google for the answer, but i only found examples where people
print all, i would like to try and save some of the rainforests
on our planet ;)
Thanks!!
____________________ 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*