HylaFAX The world's most advanced open source fax server

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

[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.*




Project hosted by iFAX Solutions