📄 efax-gtk.1
字号:
The program settings can be changed by manually editing the efax-gtkconfiguration file comprising $HOME/.efax-gtkrc,$sysconfdir/efax-gtkrc or /etc/efax-gtkrc. The file is searched forin that order, so $HOME/.efax-gtkrc takes precedence over the othertwo.The configuration file can also be set by using the Settings dialoglaunched from the `File/Settings\' pull down menu item. The settingsentered using this dialog are always stored as $HOME/.efax-gtkrc.Accordingly, if the Settings dialog has been used, and you want torevert to the global settings, this can be done either by deleting the$HOME/.efax-gtkrc file, or by pressing the `Reset\' button in theSettings dialog, which will reload the Settings dialog from the globalconfiguration file ($sysconfdir/efax-gtkrc or /etc/efax-gtkrc).Help can be obtained when filling out the Settings dialog by holdingthe mouse over the relevant help (?) button, which will bring up a"Tips" display, or by pressing the button, which will bring up aninformation display..SH LOGGINGErrors and warnings from efax are displayed in red in the applicationtext window, and information messages and reports on the progress ofnegotiations and on fax status are displayed in black in the window.In addition, these messages are sent to stderr and stdoutrespectively. Accordingly, fax status can be logged by redirectingstderr and stdout to a log file.As an alternative, a log file can also be maintained by setting theLOG_FILE parameter in the efax-gtkrc configuration file, or byentering a log file name via the Settings dialog. If no log file isspecified, no log file will be maintained..SH USING WITH A WORD PROCESSOR.SS Printing to file from the program itselfProbably the simplest way of using the program with a word processoris to print to file from the print dialog of the word processorprogram concerned, and choosing a file name in the $HOME/faxoutdirectory which can then be selected with the file selector dialog inefax-gtk. All Unix/Linux word and document processing programs willprint to file in Postscript format, ready to be faxed by efax-gtk.(At least, if there is one which does not, I do not know of it)..SS Printing via CUPSEfax-gtk can run a socket server, which CUPS can connect to. When thesocket server is running, fax files received from CUPS willautomatically be displayed in a "Queued faxes from socket" listmaintained by efax-gtk. From this list, a fax can be selected forsending by efax-gtk, so there is no need to print to file from theword processor and then select the file with the file selection dialogin efax-gtk.If you are using CUPS and you want to connect it directly to efax-gtkas mentioned above, you can do so by bringing up the faxadministration page for CUPS in a web browser, installing a newprinter with a name of "fax" (or whatever other name you want), choosethe IPP protocol, pick a URI of "socket://[hostname]:[port]", andchoose the "Raw" CUPS printer driver.The port number can be any port number less than 65536 and more than1023 which is not used by any other service on your machine/network(this can be checked out by using nmap, but it is best to avoid anylisted in /etc/services). For example, as you will usually beprinting from a local computer, if you choose a port number of 9900(which would be quite reasonable) the URI would be:socket://localhost:9900You should then start efax-gtk, go to the Socket tab in the settingsdialog, check the "Run socket server" box, and enter 9900 in the "Portto which faxes to be sent" box.To send a fax from the "Queued faxes from socket" dialog, highlightthe one to be sent, press the "Enter selected fax to send" button inthe dialog (the one with an icon representing a fax machine) whichwill enter the fax in the "File to fax" box in efax-gtk, and thenchoose a telephone number to send it to and press the "Send fax"button in the ordinary way.If efax-gtk isn't running when you attempt to send a file via CUPS toefax-gtk don't worry. CUPS will queue the fax until it detects thatthe efax-gtk socket server is running, and then send it to efax-gtk.Where a fax is queued for sending in the socket list, a small redcircle will appear in the main program window on the right hand sideof the "Fax to send" box..SS Printing via lpd/lprngThe socket server can also be used in the same way with lpd/lprng.The files efax-gtk-faxfilter and efax-gtk-socket-client are installedin /var/spool/fax, when you run `make install\' (the installationdirectory can be changed at the ./configure stage using the"./configure --spooldir=[dir]" parameter. You should add at the endof /etc/printcap the following -fax:\\.br :sd=/var/spool/fax:\\.br :mx#0:\\.br :sh:\\.br :lp=/dev/null:\\.br :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. Ifyou set efax-gtk to listen on a port other than port 9900, you willneed to amend the file /var/spool/fax/efax-gtk-faxfilter by hand tospecify the correct port number on which efax-gtk is listening.Don't forget to restart the lpd printer daemon after amending/etc/printcap. (An equivalent addition to /etc/printcap can also bemade by using the printer configuration tool with your distribution,choosing a printer name of "fax" (or whatever other name you want),choosing a printer device of "/dev/null", a spool directory of"/var/spool/fax" and an input filter of"/var/spool/fax/efax-gtk-faxfilter".).SH SYSTEM TRAYEfax-gtk has been written so that it will sit in the system tray inGNOME and KDE when the program is running.From the system tray, the program can be hidden and raised again byleft-clicking with the mouse on the icon, and right-clicking on itwill bring up a menu from which certain program operations can beperformed. A `tips\' display will also indicate the program state ifthe mouse is left hovering over the efax-gtk icon.Clicking on the top right (delete) button of the window frame will notcause the program to terminate if the program is embedded in thesystem tray. Instead it will hide it in the tray. If you want toclose the program when it is embedded in the tray, either select the"Quit" menu item in the system tray efax-gtk menu, or select the"Quit" menu item in the "File" pull-down menu in the program toolbar.Recent versions of GNOME call the system tray a "Notification Area".If your desktop panel does not have a Notification Area installed, itcan be placed on the panel by right clicking on the panel, and goingto Add to Panel -> Utility -> Notification Area..SH WORKING DIRECTORYA working sub-directory for the storage of .efax-gtk_addressbook,.efax-gtk_mainwin_save and .efax-gtk_queued_server_files and thefaxin, faxout, faxsent and efax-gtk-server directories can bespecified in the efax-gtkrc configuration file with the WORK_SUBDIR:parameter. This working subdirectory will appear as a subdirectory of$HOME (so if WORK_SUBDIR: is specified as efax-gtk, $HOME/efax-gtkwill be the working directory). If none is specified, which is thedefault, then these files/directories will be stored directly in $HOME(which was what happened before the option was available, so pastefax-gtk installations will not be broken if this option is leftunset). The WORK_SUBDIR: parameter enables these files and folders tobe kept together in a separate directory if wanted. If a WORK_SUBDIR:parameter is specified, only .efax-gtkrc will appear directly in$HOME.Note that if you specify a value for WORK_SUBDIR: in the efax-gtkrcconfiguration file, you will need to shift old versions of the filesand directories mentioned above into the new working directory orefax-gtk will not be able to find them, so use this option withcaution. In addition, if you wish to use the "print_fax" or"mail_fax" scripts, you will need to set the WORK_SUBDIR option in therelevant script..SH FILES.TP\fIefax-gtk\fPThe efax-gtk executable..TP\fIefax-gtk-faxfilter\fPA filter script for lpd/lprng which will send files to the efax-gtksocket server.TP\fIefax-gtk-socket-client\fPThe companion socket client for efax-gtk-faxfilter.TP\fIefax-gtkrc\fPThe efax-gtk configuration file..TP\fIefax-gtk.po\fPVarious translation files for different locales..TP\fIefax-gtk.1\fPEfax-gtk manual file.TPIn addition some files from efax itself are installed, as follows:.TP\fIefax-0.9a\fPThe efax executable.TP\fIefix-0.9a\fPThe efix executable.TP\fIefax.1 efix.1\fPEfax manual files.SH SEE ALSOefax(1).SH AUTHORChris Vine.brchris@cvine.freeserve.co.uk
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -