1. Requirements.
- GTK2 (this come with gnome). The best is to open yast/packages and install Gnome.
- libsigc++
including ligsig ++2.0 devel otherwise it will complain that can not find it and that you should change PKG_CONFIG_PATH environmental variable.
-checkinstall get it with yast. This
is not a requirement but it is easy to move to another machine, to uninstall if you need it, to know where the files are etc. If you do just use all the defaults.
2. Download efax-gtk
http://efax-gtk.sourceforge.net/
3. extract file and compile
I have a folder call ~/installations where I have all the sources of all the programs I install. It is important to have a place so you know where they are and if you need it you can 'make uninstall'.
cd to the directory
$./configure
$ make
# checkinstall (If you have it this will create an rmp) if not ignore this line
# make install
4. Load the program
$ efax-gtk
I add a menu entry in the kde menu.
Go to setting and be sure you can send a fax. The modem port as well as the type of fax are very important.
5. Create a fax "printer"
There are many way to do it. You can use the kde or gnome utility or lpadmin. I prefer to use the cups administration. You will use it for other tasks as well.
In your browser
http://localhost:631/admin
http://localhost:631/sam.html This is the manual.
It will ask you for userID and password. Just enter
-root
-yourrootpassword
---------
Only if it does not take your password (there is a bug in SuSEE 10.1 in 10.2 seems to be corrected) go to
/etc/cups/cupsd.conf
and at the end of the file change
AuthType BasicDigest
for
ShadowHash BasicDigest
Stop the server
# killall -HUP cupsd$
and restart the server
# cupsd
Restart the browser and now it should take the root and password
Then just
---------------
Add a new printer
Name: efaxprinter
Location:mysystem
Description: printer for efax-gtk
Device: AppSocket/HP JetDirect
Device URI: socket://localhost:9900
any port number between 1023-65536
Make: Raw
Model: Raw Queue (select it!)
You should have a new printer : efaxprinter.
In efax-gtk/settings/socket
check the "Run socket server" box, and enter 9900 in the "Port
to which faxes to be sent" box.
--------------------------------
An easy way to creater a printer:
As root:
/usr/sbin/lpadmin -p FaxPrinter -E -v socket://localhost:9900
6. Permissions
Or you run it as root or you have to change permission.
efax-gtk needs depends on
the device is using and also of the lock file. This is my approach
6.1 I create a directory as a user called ~/lock
therefore this can be access. Then in efax-gtk under settings/lock file I write this directory
6.2
# chmod 777 /dev/ttyS1
in my case yours may be different.
7. Test the program
7.1 Create a couple of filename.ps files
In efax File is checked and then Single file and just mark this .ps file and fax it. If you have 2 you can use the multiple file. Remember efax will only send .ps files. PS files are the normal output of a PS printer or produce by ghostscript.
7.2 Use the fax printer driver.
Open Office type anything then File/Print and select efaxprinter as printer. A new window will open asking you for fax number etc.
8. Finally the help file in efax-gtk is excellent and many of the stuff here comes from there.
8. Full fax program
If you receive a fax for example a form to fill and faxback:
Load the fax received into OO Draw or Gimp fill the form, clean the fax and File/Print to the efax printer. Draw for example has more tools than any full fax program.
9. efax-gtk settings:
- I have the fax entry methods in socket because I always print to a fax from other programs. I do not create a ps file and send it. If you do then you have to select File.
- Settings/identity: if you enter your phone with dashes it will produce an error of no significance. If you enter the phone as single number you will not have the error.
-Modem: this is important here is where you change if you want the lock file, the number of rings to answer and the modem class. In my case is a 2.0
-Parameter: I change the L1 to L3 so I can hear the speaker
-socket has to be the same as when you setup the faxprinter. I use the 9900 but you can use other number: "The port number can be any port number less than 65536 and more than 1023"
-Receive: I checked "Popup dialog when fax received"
-Page: In my case "letter" "fine"
Hope it helps. This is a message I sent to another user in the CIS forum with somew changes. I believe you will like efax-gtk.
Ciao,
-=terry(Denver)=-