.\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH efax-gtk-socket-client 1 "July 18, 2006" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME efax-gtk-socket-client \- a client of efax-gtk to work with lpd/lprng .SH SYNOPSIS .B efax-gtk-socket-client .RI [ hostname ] \ [ port ] .SH DESCRIPTION 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. .br .sp 2 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). .br fax:\ .br :sd=/var/spool/fax:\ .br :mx#0:\ .br :sh:\ .br :lp=/dev/null:\ .br :if=/var/spool/fax/efax-gtk-faxfilter: .br .sp 2 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. .PP .SH OPTIONS [ hostname ] \- The name of the host to listen to. Usually should be locahlhost. .br [ port ] \- the port number to listen to on the [ hostname ]. .SH SEE ALSO .BR efax (1), .BR efax-gtk (1). .SH AUTHOR efax-gtk-socket-client was written by Chris Vine . .PP This manual page was written by Lior Kaplan , for the Debian project (but may be used by others).