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.



Hey.

I know this has been covered before, and solved, but mine still appears to be happening.

We have multiple locations, so don't want everyone printing to the same printer, so setting it in faxrcvd won't really work.

Currently I have in FaxDispatch:

case "DEVICE" in
       ttyS0)
       FILETYPE=PDF;
       SENDTO=email@xxxxxxxxx;
       /usr/bin/tiff2ps -a $FILE | lp -d printer01;;
esac

This sends the email with the pdf attached fine, however seems unable to print.

If I manually tell it to print, as faxmaster, using the command:

/usr/bin/tiff2ps -a /var/spool/hylafax/rcvdq/filename.tif | lp -d printer01

it works and prints out seconds later.

Does anyone have any ideas?


-- Regards,

Brent Addis
Group Systems Administrator
Times Media Group




____________________ 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*




Project hosted by iFAX Solutions