Hylafax Mailing List Archives

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

Re: [hylafax-users] Automatic fax printing....!?!



Shafeer Hajamohideen said:
> I read that to print the incoming faxes, I just need to drop a line like
> /usr/bin/tiff2ps -a $FILE | lpr into the faxrcvd script in
> /usr/spool/fax/bin. I'm not sure when in this script I have to include
> this line of code. Since i use cups for printing i dropped the command
> /usr/bin/tiff2ps -a $FILE | lpr -P <printer name> at the begining of the
> script file. But I don't get this faxes printer to this printer.
>
> Do I have to make anyother changes.. like the FaxDispatch ?
>
> Regards,
> Shafeer.

This partial snippet of my FaxDispatch prints out faxes which come in to
certain lines:

#!/bin/sh
case "$DEVICE" in
ttyG008)            /usr/bin/tiff2ps -a $FILE | lpr -Pexec;;
ttyG009)            /usr/bin/tiff2ps -a $FILE | lpr -Pacctg;;
ttyG010)            /usr/bin/tiff2ps -a $FILE | lpr -Pmktg;;
esac

HTH,
Josh


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



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services