LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 03-01-2007, 01:54 PM   #1
Larse
LQ Newbie
 
Registered: Feb 2007
Location: Stockholm, Sweden
Posts: 14

Rep: Reputation: 0
Problem Faxing from SuSE 10.2


Hi,

invited to by JZL240I-U I start a new thread on this topic since I extensively have tried to fax from this dist for some months now without any success.

My modem is an external Robotics 56k v 92 Faxmodem that works exellently from W2000 and WXPsp2.

I've tried several Forum threads, the last two:
http://en.opensuse.org/SDB:Setting_u...r_with_Hylafax Didn't work
and tonight:
http://www.easylinux.de/pipermail/su...ry/017453.html That didn't work either!

To be short in the start of this thread I refer to the last link above:
-I simply want to send fax from OpenOfficeWriter.
I followed the last thread installing the package yast2-phone-services, configured the Fax in Yast, installed a PDF-converter under /usr/lib/000-2.0/program/spadmin.bin, Standard-driver, Commandline: "kprinter".

-From OO.orgWriter i then run File->Print->PDF-converter and kprinter starts up. It seems to convert the document well to a temporary file. After adding faxnumber (cannot edit a phonebook in Kprinter!!) I run Send Fax and immediately get an Error message:
The first one:
Kdeprint fax-verktygslogg (fax-toollog)

Konverterar indatafiler till Postskript (converting indata to ps)


Skickar fax till 560 358 38 (Lars Edman) (sending fax to ....)

Skickar till fax med: /usr/bin/faxspool -F 'Lars Edman' -D 'Lars Edman' '56035838' '/tmp/kde-larse/kprinter_6099' -C -
/usr/bin/faxspool: cannot open '-C'!


-After that I tried to print to the Generic Fax that was installed together with the phonetools. That immediately generated another Error msg:
Kdeprint fax-verktygslogg

Konverterar indatafiler till Postskript


Skickar fax till 56035838 (Lars Edman)

Skickar till fax med: /usr/bin/faxspool -F 'Lars Edman' -D 'Lars Edman' '56035838' '/tmp/kde-larse/kprinter_6243' -C -
/usr/bin/faxspool: cannot open '-C'!


Can anyone help me out I would be glad!
/Larse

PS One thread I havn't tried yet is the one below. It simply looked to dreadful DS.
(http:www.novell.com/coolsolutions/appnote/16955.html)
 
Old 03-01-2007, 05:24 PM   #2
terryxela
Member
 
Registered: Dec 2006
Location: Denver, Colorado, USA
Distribution: SuSE 11.3
Posts: 127

Rep: Reputation: 17
Guide of howto fax with efax-gtk under SuSE 10.2

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)=-
 
Old 03-02-2007, 01:42 PM   #3
Larse
LQ Newbie
 
Registered: Feb 2007
Location: Stockholm, Sweden
Posts: 14

Original Poster
Rep: Reputation: 0
efax-gtk

Many Thanks terryxela!

At last a fax-solution(application) that did not immedately return an error message!

Can I ask some additional questions? In Your instructions You wrote:

Quote:
2. Download efax-gtk from http://efax-gtk.sourceforge.net/
that url took me to a pay site? Through google efax-gtk I got to the same, but free, url??

checkinstall was a wonderful instrument and the installation from the rpm was smooth!!

Quote:
4. Load the program
$ efax-gtk
I add a menu entry in the kde menu.
HOW do I do that??
I know it's trivial but I don't know. -I haven't got the KDE menu, instead I use the GNOME "Traditional Main Menu". Do You know how I add an entry into that?

5. I couldn't find the Cups Manual in http://localhost:631/sam/html? But the administration and adding a printer went smooth anyway.

Quote:
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
How do I create a directory called ~/lock ? -As I didn't understand I instead created one /home/myname/Fax/.lock and referred to that in efax-gtk-settings. Seamed to work but I'm curious anyway? And curious of what a "lock"-directory is?

Quote:
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.
-How do I produce separate postscript files? I noticed that OOW through Print to PDF-converter sent a *.ps-file to send from Kdeprintfax from a temp directory. Or is it so that OOW creates the postscrip file needed? It worked through efax-gtk anyway, but can You explain why?

Quote:
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.
Quite near my last question above: You mean I can send fax from f i OOW or GIMP?

Modem: Set the class as Auto. Worked as well, answered class 2.0.

Finally: Do I have to make any additional cruicial setting for receiving faxes? Of course have the efax-gtk running, but other?

My best regards for a working solution!!
Larse
 
Old 03-02-2007, 04:11 PM   #4
tytower
Member
 
Registered: Jun 2006
Location: Oz
Distribution: Mandriva 10.0,10.1,10.2,2006,Mepis 6.0,Opensuse10.2,Puppy 2.14
Posts: 250

Rep: Reputation: 30
Jesus ! Simple ain't it - not
 
Old 03-02-2007, 07:44 PM   #5
terryxela
Member
 
Registered: Dec 2006
Location: Denver, Colorado, USA
Distribution: SuSE 11.3
Posts: 127

Rep: Reputation: 17
Quote:
Many Thanks terryxela!
You're very welcome

Quote:
that url took me to a pay site?
The url is correct I have just checked again. Try another browser and see what happens you may have an intruder :-(
Quote:
checkinstall was a wonderful instrument and the installation from the rpm was smooth!!
Yes. A couple of points (1) the rpms are not as robust as the ones made in a traditional way. They are not to be place in a repository but, using it with the same distro they work great (2) with some programs it may produce errors but if you do a make install works ok so, just keep in mind (3) create an installation source in yast or smart with the location of these rpms so the next one will go there and you can install it with your installation manager.

Quote:
I haven't got the KDE menu, instead I use the GNOME "Traditional Main Menu". Do You know how I add an entry into that?
I do not use Gnome somebody else may be able to help you. I played with it sometime ago and I wrote this note in my notebook (tuxcards) -> I found that if I right-click on the top panel, I can add a menu - then if I right-click on the menu icon that is placed there, I can configure the new menu I have just added. There are options for type of menu, menu path, and custom icon.

Quote:
I couldn't find the Cups Manual in http://localhost:631/sam/html? But the administration and adding a printer went smooth anyway.
Sorry. this is the link for SuSE 10.1 for 10.2 there is a help tab that take you there (http://localhost:631/help/)

Quote:
How do I create a directory called ~/lock ? -As I didn't understand I instead created one /home/myname/Fax/.lock and referred to that in efax-gtk-settings. Seamed to work but I'm curious anyway? And curious of what a "lock"-directory is?
The tilde <~> means the home directory /home/myname so you do not have to do as much typing. Try cd / and the cd ~ or try cd / and then mkdir ~/REMOVE and see where it goes. Well I should not do that, this does not correspond to the thread. It is better whenever you have an unrelated question to start a new thread in this way other people can find it ;-)


-
Quote:
How do I produce separate postscript files?
This is linux no windows :-) that's how linux works. OO print using the regular printer driver and it produces a postscript file that is accepted by the postscript printer. If you check print to file it will not send it to the printer but just store the postscript file where ever you choose. When ask name say: filename.ps. Of course using the faxprinter you avoid this extra step.


Quote:
Quite near my last question above: You mean I can send fax from f i OOW or GIMP?
Suppose you receive a fax in the faxin folder. This is a TIFF format file. Just open it in OO or GIMP treated as graphic file, do all changes including add text etc and then File/print/select the fax printer and this modify fax you received will be send back. I do this with forms or if I they send me a dictation and I have to sign it etc.


Quote:
Modem: Set the class as Auto. Worked as well, answered class 2.0.
Good

Quote:
Finally: Do I have to make any additional crucial setting for receiving faxes? Of course have the efax-gtk running, but other?
...and in standby


Quote:
My best regards for a working solution!!
I am glad that work. In great part we have to thank Jeremy and the moderators for maintaining this place where we can help each other.

Ciao

-=terry(Denver)=-
 
Old 03-03-2007, 05:49 AM   #6
Larse
LQ Newbie
 
Registered: Feb 2007
Location: Stockholm, Sweden
Posts: 14

Original Poster
Rep: Reputation: 0
Hi terry!

One final great thank You!

The URL-error; Occurred only when I marked the link in this site, not when I wrote it in. Never mind, suppose not in my browser anyway.

The entrance in Gnome-Main-Menu worked auto through the installation! Just took a while to find it under Office->More programs!

-Do You know if/think the efax-gtk-(3.0.12.src.tgz) could work in SuSE9.3 (i386) as well, or if I should look for another version?

-Lastly: (And perhaps this is a subject for a new thread): Now I have got a problem with the Printer-administration in Yast2! -In Yast2->Hardware_Printer: It runs through
-checking the environment
-checking firewall settings
-checking printerdatabase... and there i hangs on 4% under "The list of installed drivers has changed. ->Building driver database.... and hangs, impossible to interrupt.
-I am not certain, but think it's because I through the months of trying different fax-solutions (Efax,MGettysendfax,sendfax,Hylafax,PDF-fax and kdegraphics3-fax) have installed a heap of printers through different printeradministration tools (among other /usr/lib/ooo-2.0/program/spadmin, kdeprintfax and cannot recollect which other exept the last: Cups)?

One way of getting rid of the problem is of course to make a new installation from scratch and skip the not working fax-solutions?

Best regards
Larse
 
Old 03-03-2007, 11:15 AM   #7
terryxela
Member
 
Registered: Dec 2006
Location: Denver, Colorado, USA
Distribution: SuSE 11.3
Posts: 127

Rep: Reputation: 17
Quote:
-Do You know if/think the efax-gtk-(3.0.12.src.tgz) could work in SuSE9.3 (i386) as well, or if I should look for another version?
Try the rpm you build using yast and see if it works. If it doesnot, remove it (with yast) and you have to take all the steps I described. Yes it will work.

Quote:
-Lastly: (And perhaps this is a subject for a new thread): Now I have got a problem with the Printer-administration in Yast2! -In Yast2->Hardware_Printer: It runs through
-checking the environment
-checking firewall settings
-checking printerdatabase... and there i hangs on 4% under "The list of installed drivers has changed. ->Building driver database.... and hangs, impossible to interrupt.

One way of getting rid of the problem is of course to make a new installation from scratch and skip the not working fax-solutions?
Before you reinstall you can try a couple of things:
1. go to the cups administration as you did before and check you do not have any printers you do not want or that you have duplications etc.
2. Go to yast search for printer and uninstall and reinstall the database etc. You may have to reinstall the printers again. So be sure you write the setups and have the ppd files available etc.

Have a good weekend. One of these days you can send me a fax and I will reply with another fax :-)

Ciao

-=terry(Denver)=-
 
Old 03-05-2007, 02:36 AM   #8
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
Hi Larse , glad you sorted it out.

Just one suggestion: While in SuSE always use yast -- it will call all the nececssary tools to keep your installation sane. Just type in a console
Code:
yast -i /path/to/rpm
and you'll note at least "ldconfig" and "SuSEConfig" will be called in due course...

Last edited by JZL240I-U; 03-05-2007 at 02:38 AM.
 
Old 03-05-2007, 11:53 AM   #9
Larse
LQ Newbie
 
Registered: Feb 2007
Location: Stockholm, Sweden
Posts: 14

Original Poster
Rep: Reputation: 0
Hi JZL240I-U!

Thank You for the tip, wrote the path, made a note and will remember it!

Returned because I almost sorted it out, found out today:

From efax-gtk I cannot receive? Setting the fax in standby for receiving it answers:
Code:
Uttag körs på port 9900
efax-0.9a: 18:34:25 Fel: can't open serial port /dev/ttyS0: Åtkomst nekas [access denied]
efax-0.9a: 18:34:25 färdig - ej återhämtbart fel
[ready-not recallable(?) error]

Something blocks efax-gtk from getting access to the modem, and I cannot figure out what?

Larse
 
Old 03-05-2007, 07:21 PM   #10
terryxela
Member
 
Registered: Dec 2006
Location: Denver, Colorado, USA
Distribution: SuSE 11.3
Posts: 127

Rep: Reputation: 17
Quote:
Originally Posted by Larse
Hi JZL240I-U!

Thank You for the tip, wrote the path, made a note and will remember it!

Returned because I almost sorted it out, found out today:

From efax-gtk I cannot receive? Setting the fax in standby for receiving it answers:
Code:
Uttag körs på port 9900
efax-0.9a: 18:34:25 Fel: can't open serial port /dev/ttyS0: Åtkomst nekas [access denied]
efax-0.9a: 18:34:25 färdig - ej återhämtbart fel
[ready-not recallable(?) error]

Something blocks efax-gtk from getting access to the modem, and I cannot figure out what?

Larse
Look at # 6 paragraph in the "guide" most likely is related to permission. Of course you can run it as root

Ciao

-=terry(Denver=-
 
Old 03-06-2007, 01:49 AM   #11
Larse
LQ Newbie
 
Registered: Feb 2007
Location: Stockholm, Sweden
Posts: 14

Original Poster
Rep: Reputation: 0
I allready did, both 6.1 or 6.2, otherwise efax-gtk shouldn't have gained access to the modem while sending, or....

Lars

...But of course: rebooting reset the rights to /dev/ttyS0! (Haven't yet found out how I can prevent that? A line in fstab?)

I did as You first suggested, ran it as root. Then everything worked! The only small disturbance is that I have to login as root to get hold of the incoming faxes. But, ;-) Whatever. It works!

Best regards

Last edited by Larse; 03-06-2007 at 01:30 PM.
 
Old 03-25-2007, 01:27 PM   #12
terryxela
Member
 
Registered: Dec 2006
Location: Denver, Colorado, USA
Distribution: SuSE 11.3
Posts: 127

Rep: Reputation: 17
Quote:
Originally Posted by Larse
I allready did, both 6.1 or 6.2, otherwise efax-gtk shouldn't have gained access to the modem while sending, or....

Lars

...But of course: rebooting reset the rights to /dev/ttyS0! (Haven't yet found out how I can prevent that? A line in fstab?)

I did as You first suggested, ran it as root. Then everything worked! The only small disturbance is that I have to login as root to get hold of the incoming faxes. But, ;-) Whatever. It works!

Best regards
Sorry Lars, I did not see this message for a while. Here how to solve it

Automatic Start

1. Change permissions at boot time

add the following line to /etc/boot.local

chmod 666 /dev/ttyS1

2. Add the program to KDE auto start

Konqueror/Go/Autostart

R mouse/new/link to an application/application/command
efax-gtk -s -r

The -s will hide it in the system tray, the -r will start in received mode.

Ciao

-=terry(Denver)=-
 
Old 04-03-2007, 03:53 PM   #13
cjunevicus
LQ Newbie
 
Registered: Apr 2007
Posts: 24

Rep: Reputation: 15
Works on Different distro -- centos based but easy as pie

The Adminsparadise Voip PBX and Fax software
automates the install for you.

There is a livecd for preview and an installation cd that automates the install for you.

The web based fax allows you to preview incoming and outgoing faxes via thumbnails on a web page. -- you can email, archive etc
It also automagically installs sambafax, hylafax, avantfax.

winprinthylafax works automatically with it too so you can print from your desktop

Avantfax has been tweaked so that not only can you do the standard pdf and tiff but also upload practically all word,excel formats..

save yourself the time and trouble.

It does it all for you... there are screenshot previews..
flash tutorial that walk you through it.

Check it out at www.adminsparadise.com

later
 
Old 04-26-2007, 09:29 PM   #14
joesummer
LQ Newbie
 
Registered: Apr 2007
Posts: 1

Rep: Reputation: 0
Hi there,

I'm a newbie in this forum..I would like to ask some guideline about efax that recently I setup into my pc.

Thanks to this thread, I had successfully setup efax into my PC and running live about one month, successful received faxes. The problem comes last two days when I notice that it fail to receive multiple pages from sender, receive page 1 but fail to receive rest of the pages. Did I miss out any configuration?

I'm using efax-0.9a on OpenSuse 10.2; modem: Artnet 56k, class 1 modem

please advice~
 
Old 11-25-2007, 10:19 AM   #15
terryxela
Member
 
Registered: Dec 2006
Location: Denver, Colorado, USA
Distribution: SuSE 11.3
Posts: 127

Rep: Reputation: 17
Quote:
Originally Posted by joesummer View Post
Hi there,

I The problem comes last two days when I notice that it fail to receive multiple pages from sender, receive page 1 but fail to receive rest of the pages. Did I miss out any configuration?
Sorry, I did not see this message, well at least the reply is in the same year (2007)

How to see files received/files sent

This is part of the efax-gtk . Go to the File menu.
It is important that you setup the correct viewer. My preference goes for kghostview. Ghostview is also a good one.
In both you will be able to see faxes with many pages.
If you set it up for gimp you will be able to see only the first page. Of course you can use the gimp tools that are great to change the faxes. If you need to do changes in a multiple page fax with gimp you have to go to faxin directory and find the file you want and load it. I have not been able to load all the files of a multipage fax into gimp using the efax-gtk menu
To change the viewer go to File/setting/View

In summary you may not be able to see a multiple page fax using the efax-gtk menu even though the multiple pages are in the faxin directory. The problem is the viewer. If you do not see the multiple pages in the faxin folder is because the sender did not send it or there was a problem in the transmition.

-=terry(Denver)=-
 
  


Reply

Tags
fax



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SUSE 10 and faxing Radiolarian Linux - Software 8 02-02-2006 06:52 AM
mgetty-fax under SUSE 9.2 not faxing akirede SUSE / openSUSE 1 04-04-2005 10:19 PM
faxing in suse 9.2 pro UGT001 SUSE / openSUSE 6 02-25-2005 04:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 12:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration