Q76: How do I get faxd to print everytime I receive a facsimile?


? Got something to say about this answer? Hit the question mark to invoke the mailer and send your comments to the HylaFAQ maintainers.

Q.
How do I get faxd to print everytime I receive a facsimile?

I am wondering how to get fax to printed everytime I receive one. Man pages say that changing the bin/faxrcvd script will do it. As it is now, faxes are being saved in TIFF format (I think thats the default)

A.
TIFF/Class F is the format in which HylaFAX stores received facsimile. There is documentation on the faxrcvd script invoked by the fax server for each received facsimile. To print each received fax just modify the script according to your local needs. For example, you might use fax2ps (in the HylaFAX distribution) piped to ghostscript with the Laserjet driver.
/usr/local/bin/fax2ps $1 | gs -q -sDEVICE=ljet3 -dNOPAUSE -sOutputFile=- | lp

Another useful program to use when printing TIFF images is the tiff2ps program that is included in the TIFF software distribution.


Note: Some of the hyperlinks (e.g. for the man pages) can only work, if the HylaFAX software and the full documentation are installed on your system.

Matthias Apitz / guru@softcon.de ; (07:34:58 AM 01/27/97)