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] how to print on different printers



On Wed, 29 Nov 2006, Lee Howard wrote:

Davide Sberna wrote:

I need to dispatch fax received on various modem ( and different lines ) to different printers located all across the office ( eg ttysS0 will
print on printer A, ttyS1 on printer B )


Create the /var/spool/hylafax/etc/FaxDispatch file and in it put:

 PRINTER=default
 case $DEVICE
     ttyS0) PRINTER=printer-A;;
     ttyS1) PRINTER=printer-B;;
 esac
 tiff2ps -a $FILE | lpr -P $PRINTER


Probably a really dumb question, but the examples in the man pages, howto's etc. I found all invoke tiff2ps directly.

How would the above work with that ttyS0) PRINTER=printer-A;; doesn't seem to invoke tiff2ps at all?

Or is this line "ttyS0) PRINTER=printer-A;;" simply defining the contents of the variable PRINTER?

I have a system where I need to print only faxes received externally, not the faxes that were sent internally for scanning purposes.

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*




Project hosted by iFAX Solutions