LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-23-2004, 03:58 PM   #1
273chris
Member
 
Registered: Sep 2004
Location: UK
Distribution: SuSE Linux 9.0
Posts: 58

Rep: Reputation: 15
Wink difficulty sustaining configuration of printer using KDE


Hi!

I am just a simple home user and know next to nothing about Linux and most programs in general but am trying to install and set-up SuSE Linux 9.0 and have had really extensive trouble when trying to make my printer work.

I have no MS Windows OS on my computer. I have a Pentium 3 computer and the printer is Epson Stylus Color 740.The first time I installed Suse Linux everything went OK and I could print my old Word or Excel files from Open Office, however not from my browser, e.g. Mozilla browser, or my Mozilla email browser.

So I uninstalled Linux altogether and re-installed Linux from scratch and after this the printer did not work at all. I got the advice to use a diagnostic tool site on the net called localhost:631, but it did not let me in the second time because it did not accept my password, which I know was right!

Then I read one could use a KDE wizard by calling it up from the second printer window that comes up after one has already given the order to print in a first window. KDE is apparently connected to localhost:631. You guessed it: there was no permanent solution for me!

Anyway, in the second window, which also has various choices like CUPS, there is an icon which looks like a torch and which activates the KDE wizard. Somewhere in the middle of all the configuration process it invites one to test the printer. I tried to test it but KDE would not let me because the password I was required to enter for the test was not accepted. I continued anyway, and lo the printer worked, not only from Open Office but also from my browser and email browser. Success.

End of story? No. Next day the printer does not work again. I try to repeat the prodecure with with the KDE wizard but the printer continues to print rubbish for about six lines then spews out copious sheets of paper.

Any ideas on both the printer configuration or how to get a new password on localhost:631? Incidentally I did try configuring via YaST hardware at an earlier stage before I tried KDE, but just went round in circles. The printer showed the same behaviour then too. Epson have instructed per telephone to run tests on the printer and it is OK, and the cable connections are OK. I get the same problem whether using a parallel pot or USB.

I would be grateful for some help on this vexing problem.

Thanks

273Chris
 
Old 09-25-2004, 05:02 PM   #2
phantompgr
Member
 
Registered: Sep 2002
Location: South Wales, UK
Distribution: Fedora Core & Mandrake
Posts: 83

Rep: Reputation: 15
Sounds like you are using CUPS as the printer daemon. This works as a daemon that sits on udp port 631. The configuration for CUPS is based in the directory /etc/cups and has both a server and client configuration.

It maybe that each time you start/shutdown the machine, the daemon is being started/shutdown. Try opening up a terminal and testing with the following:

bash> su
enter password: <this would be the root password>
bash> /etc/init.d/cups stop (shuts down the daemon)
bash> /etc/init.d/cups start (starts the daemon)

The cupsd.conf file configures the cups daemon while the cups.conf file configures the client.
 
Old 09-25-2004, 07:21 PM   #3
273chris
Member
 
Registered: Sep 2004
Location: UK
Distribution: SuSE Linux 9.0
Posts: 58

Original Poster
Rep: Reputation: 15
Hi phantompgr...

Thanks for the reply!

I opened up a terminal and did as you said but the reply came 'no such file or directory'.

Is there some corruption?
Should I go into YaST and uninstall utilities and reinstall them?

By the way, any idea how I can get a new password on localhost:631? It just won't let me in!

Hope you see this.

Ciao

273chris
 
Old 09-26-2004, 04:14 PM   #4
phantompgr
Member
 
Registered: Sep 2002
Location: South Wales, UK
Distribution: Fedora Core & Mandrake
Posts: 83

Rep: Reputation: 15
Okay some things to look at first...

Suse, Mandrake and Redhat tend to adopt the use of cups as the default method for getting to printers. Cups exists as an installed package independant of KDE or any other window manager.

Localhost:631 is not a net tool as such but a browser configuration tool. Cups uses port 631 for all connection requests so that another computer on a network can connect to the printer simply by connecting via port 631 much the same way as a mail client connects to an SMTP server via port 25. Localhost is your computer.

So ...

Open a terminal and try the following:

su to root or login with root (the former is much safer)
type 'netstat -an | more' This displays all listening ports on your machine (ie. all services running open ports) and if cups is installed and running then you should see something like:
tcp 0 0 0.0.0.0:631 0.0.0.0:* LISTEN
udp 0 0 0.0.0.0:631 0.0.0.0:*
If it doesnt then either cups is not running or not installed. For the latter... try
typing 'rpm -qa | grep cups' and you should see something similar to (but not exactly the same as you are Suse and not Mandrake):
cups-1.1.20-5.1.100mdk
libcups2-1.1.20-5.1.100mdk
cups-common-1.1.20-5.1.100mdk
cups-drivers-1.1-138.2.100mdk

If not then you will have to install cups.

Assuming cups is installed or you have installed it, then the YAST type tools, if like drakconf in Mandrake, deal with the daemon part of cups (installs the printer and makes it available on port 631) while KDE tools will deal with connecting to any Cups served printers on the network (in your case one computer).

Hope this helps....

The Phantom
 
Old 10-02-2004, 09:16 PM   #5
273chris
Member
 
Registered: Sep 2004
Location: UK
Distribution: SuSE Linux 9.0
Posts: 58

Original Poster
Rep: Reputation: 15
Hi phantomgpr

Hectic week...

I reinstalled everything and then I did as you said and the tcp * LISTEN and the udp * are there.

When I again tried to use YAST the printer prints rubbish. When I try and use the KDE wizard to configure the printer it installs new drivers but before it is finished it asks me (with my user username pre-provided) for my password, but does not accept it! (Despite the total reinstallation from scratch during which I had to give my username and password.) I have looked for a place to find my user username's password with no success. KDE will not accept root as username plus root's password either.
I had the same problem before the complete reinstallation.

Any ideas what I should try to do now?

Regards

273Chris
 
Old 10-08-2004, 11:49 AM   #6
273chris
Member
 
Registered: Sep 2004
Location: UK
Distribution: SuSE Linux 9.0
Posts: 58

Original Poster
Rep: Reputation: 15
I seem to have lost phantom....

Can any one else help?

thanks

273chris
 
Old 10-25-2004, 07:03 PM   #7
273chris
Member
 
Registered: Sep 2004
Location: UK
Distribution: SuSE Linux 9.0
Posts: 58

Original Poster
Rep: Reputation: 15
To all

I did ask for this thread to be closed because of the lack of continuation. In the meanwhile,
since so many new visitors look at it every day, some may want to continue looking at the throes and woes in this problem as they are continuing on my other thread:
'Difficulty getting CUPS to configure the printer'

These same issues are not yet resolved.

273chris
 
  


Reply



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
Printer Configuration: "Print file sent, waiting for printer to finish", JetDirect Ed-MtnBiker Fedora 3 02-23-2007 12:41 PM
Difficulty getting CUPS to configure the printer 273chris Linux - General 77 03-29-2005 10:36 AM
Printer configuration botnora Fedora - Installation 0 01-12-2005 06:58 PM
Printer Configuration Crashed_Again Linux - Software 30 01-24-2003 10:44 AM
Printer Configuration gcombe74 Linux - General 2 04-17-2002 01:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:19 PM.

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