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] Fax Routing Case Device = x email y and then print to z. SOLVED
I solved this. The correct syntax was to remove the SENDTO= for the
print command.
case "DEVICE" in
ttySx)
FILETYPE=PDF;
SENDTO=PERSON@COMPANY.COM;
/usr/sbin/tiff2ps -a $FILE | lp -dpkraus;;
ttySx)
.....
Esac
-----Original Message-----
From: hylafax-users-bounce@hylafax.org
[mailto:hylafax-users-bounce@hylafax.org] On Behalf Of Paul Kraus
Sent: Thursday, September 26, 2002 4:27 PM
To: hylafax-users@hylafax.org
Subject: [hylafax-users] Fax Routing Case Device = x email y and then
print to z.
What is the syntax to tell faxdispatch to print if received from a
certain modem. I have multiple modems and need them to print to
different printers and email address based on the incoming line.
case "DEVICE" in
ttySx)
FILETYPE=PDF;
SENDTO=PERSON@COMPANY.COM;
SENDTO=/usr/sbin/tiff2ps -a $FILE | lp -dpkraus;;
ttySx)
.....
Esac
The email works fine but the documents do not print.
Printers have been tested and can and do print through lp with no
problems. I saw that I could edit the faxrcvd script to do this but I
remember being able to do it with FaxDispatch(Strong believer in small,
self documenting, effective config files)but can't seem to remember how
I did it.
Paul Kraus
Network Administrator
PEL Supply Company
216.267.5775 Voice
216-267-6176 Fax
www.pelsupply.com
____________________ 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.*
____________________ 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.*