This program enables lpd/lprng to access the efax-gtk socket server. Meaning the user can send faxes to a
printer, which will ack as a fax.
It takes two arguments - first a hostname to connect to, and secondly a port number at that hostname to
connect to. All efax-gtk-socket-client does is to read from standard input (in this case from lpd/lprng)
and passes it to a socket at the hostname and port number passed as arguments to it (namely the hostname
of the computer efax-gtk is running on - normally you would specify localhost - and the port number of
the socket).
fax:
:sd=/var/spool/fax:
:mx#0:
:sh:
:lp=/dev/null:
:if=/var/spool/fax/efax-gtk-faxfilter:
This will cause a printer by the name of "fax" to be available, which (if printed to) will send the file
to the efax-gtk socket server. If you set efax-gtk to listen on a port other than port 9900, you will
need to amend the file /var/spool/fax/efax-gtk-faxfilter by hand to specify the correct port number on
which efax-gtk is listening.
Don't forget to restart the lpd printer daemon after amending /etc/printcap.