LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-11-2006, 05:46 AM   #1
nappy501
Member
 
Registered: Mar 2004
Location: UK
Distribution: Redhat 9, then Fedora Core 2, Suse 10.0, 10.2 now 11.3
Posts: 136

Rep: Reputation: 15
Unhappy Epson stylus c20ux stopped printing after power failure


Hi, the message below is one that I posted on this thread.
http://www.linuxquestions.org/questi...d.php?t=207910 but I didnt' get a response
The printer was fine before the power failure. It is working fine in Windows.

I don't know how to check what my printer is doing or not doing.

Regards
Nappy501

Previous message:
Hi
I think I have the same problem I have a dual boot machine, Suse 10.0 and Windows 98 connected to an Epson Stylus C20ux.

I leave the printer on all the time, but when I went away on holiday the power was interrupted. I turned my computer on and the first time I tried to print, I realised the printer was off. I switched it on, but have been unable to print. However, it prints fine in Windows and the jobs are been queued.

Can you be more specific about how you reinstalled the drivers. When I installed Suse 10.0 it just found the printer I didn't have to install any drivers. I have just noticed the link, but it is for HP and I'm using an Epson?

I would be really grateful for help on this.
Thank you.
 
Old 07-11-2006, 06:26 AM   #2
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,477

Rep: Reputation: 51
If this is a usb printer, type (from a terminal)

lsusb

This will tell you that the printer is still being recognized. Make sure your cups service is still running.

The power failure could have interrupted the cusps service. Do all other usb peripherals work OK? Make sure it is not the usb ports. You may have to delete the printer and reinstall it.

Hope this helps

Bob
 
Old 07-11-2006, 09:05 AM   #3
nappy501
Member
 
Registered: Mar 2004
Location: UK
Distribution: Redhat 9, then Fedora Core 2, Suse 10.0, 10.2 now 11.3
Posts: 136

Original Poster
Rep: Reputation: 15
Hi Bob,
Thanks for your response.

Quote:
Originally Posted by BobNutfield
If this is a usb printer, type (from a terminal)

lsusb

This will tell you that the printer is still being recognized.
Yes, it is a usb printer.
I have typed lsusb into terminal, I get command not found. I also tried ls usb and I also tried cd / first so I was at the top of the directory.
Quote:
Make sure your cups service is still running.
I don't know how to do this?
Quote:
The power failure could have interrupted the cusps service. Do all other usb peripherals work OK?
Yes, my card reader and usb hub are still working fine.
Quote:
Make sure it is not the usb ports.
No I don't think that is the problem as they are still working, card reader and hub!
Quote:
You may have to delete the printer and reinstall it.
I do not know how to do this. The printer was just picked up when I installed Suse 10.0, Is that the printer or the drivers?

Quote:
Hope this helps

Bob
Thank you very much, it's a start
Nappy501
 
Old 07-11-2006, 11:11 AM   #4
nappy501
Member
 
Registered: Mar 2004
Location: UK
Distribution: Redhat 9, then Fedora Core 2, Suse 10.0, 10.2 now 11.3
Posts: 136

Original Poster
Rep: Reputation: 15
Unhappy More information

Found this under utilities/printing/print jobs for all printers.
My last print is sitting in a queue.

I also visited.
utilities/printing/print manager, which says:
Type local printer
State: stopped (accepting jobs)
location: USB printer on //EPSON/stylus%20C20
Description: Epson Stylus C20
URI: ipp://linux:631/printers/stylusc20
Device: usb://EPSON/Stylus C20
Model: Epson Stylus C20UX Foomatic/gimp-print (recommended)
Print system currently used: CUPS (cOMMON unix pRINT sYSTEM

And under utilities/printing/manage printers it tells me
name: stylusc20
Description: EPSON Stylus C20
Location: USB printger on //EPSON/Stylus%C20
Status: Paused: Unable to open USB device "usb://EPSON/Stylus%20C20: No such device.

So is it saying it has the drivers, but doesn't know the printer is there?

Regards
Nappy501
 
Old 07-11-2006, 03:37 PM   #5
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,477

Rep: Reputation: 51
Try opening up konquorer and in the address bar type:

Quote:
localhost:631
This will bring up a web style printing admin page. It may ask you for a root password. The pages are tabbed and one of them allows you to kill all pending print jobs. There a number of other options there as well which I am sure will get your printer running again.

Bob
 
Old 07-11-2006, 05:21 PM   #6
nappy501
Member
 
Registered: Mar 2004
Location: UK
Distribution: Redhat 9, then Fedora Core 2, Suse 10.0, 10.2 now 11.3
Posts: 136

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by BobNutfield
Try opening up konquorer and in the address bar type:



This will bring up a web style printing admin page. It may ask you for a root password. The pages are tabbed and one of them allows you to kill all pending print jobs. There a number of other options there as well which I am sure will get your printer running again.

Bob
Sorry Bob,
I think I am being dense. It asks me for username and password, I tried my username and password I then tried 'root' and my root password, both got Authentication failed. Do you want to retry. As I normally only get asked for the root password I went into Yast2/security/user management and checked that root is called root. To check this I had to put in the administrator's password, which worked fine.

I can see that this would work as the start printer was hilighted, but I can't do it because I can't enter the right username.

Regards

Nappy501
 
Old 07-12-2006, 03:31 AM   #7
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,477

Rep: Reputation: 51
OK, I am not sure why your root password is being rejected, but you could try to log in at the log-in screen as root and try it again. In any case, the problem is related to this:

Quote:
Status: Paused: Unable to open USB device "usb://EPSON/Stylus%20C20: No such device.
In all other references to the printer, it is called /EPSON/Stylus%C20, and as you can see it is shown here with an additional "20" at the end. This is probably the result of a sudden power cut. However, your printer is still installed and the drivers appear to be intact. You need to find the USB device file and make sure it is named correctly. Look in the /dev/usb file. From the command line, type:

Quote:
ls -l /dev/usb
This will list the files in that folder. If you find it, you can simply rename it.
You can also perform all of the admin tasks for printing that you would on the web-style page from the commnd line. From the command line as root, type:

Quote:
lpstat -d
This simply tells you that the printer is still installed. Also type:

Quote:
lpq -av -P EPSON Stylus C20
This will tell you if there are any pending jobs that are stuck in the queue. If there are, there will be a job number shown. Eliminate that with:

[QUOTE]lprm <job no.>/QUOTE] Don't use the brackets in actual use.

The gui in the Control Center in KDE performs basically the same tasks as the Web-style interface. In the worst case, simply delete the printer from there and reinstall it.

Hope this helps

Bob
 
Old 07-12-2006, 06:35 AM   #8
nappy501
Member
 
Registered: Mar 2004
Location: UK
Distribution: Redhat 9, then Fedora Core 2, Suse 10.0, 10.2 now 11.3
Posts: 136

Original Poster
Rep: Reputation: 15
Hi Bob,
I am sorted, but I am not sure how. I will write what happened for future forum users.

Yes, logging in as root would sort it, however I had already logged in when I read your message.

ls -l /dev/usb gave me
total 0
crw-rw----- 1 root lp 180, 0 2006-07012 09.37 lp0

lpstat -d gave me
system default destination: stylusc20

Then I did
lpq -av -P EPSON Stylus C20
and got unknown destination "EPSON"
I tried some other variants and then went to look.

I went to utilities/printing/managing printers
There are two icons, new printer and stylusc20. The stylusc20 said underneath 2 jobs paused.
Choosing stylusc20/printer showed resume printer. Clicking on resume printer did nothing.

However, today I went to properties, the bottom left button said 'become administrator'. I clicked that entered root password,clicked resume printer and the two print jobs started printing.

Whilst there I noticed that it is stylusc20

So typed
lpq -av -P stylusc20
and got
Stylusc20 is ready & printing.
It also showed the 2 print jobs and details.

Also is it as easy as windows to delete and install a printer? Would it just have been a matter of deleting the stylusc20 icon and then clicking add printer? Would the machine have then probed and installed the the printer with drivers, like at installation or would I have had to install the drivers?

So what did I learn, not to be frightened of logging in as root. I think if I had done that when I found the problem, clicking on resume printer would have worked as I would have been root.

As someone who has been using Linux as my main system since April 2005 I still feel like a raw newbie. Sometimes things are very intuitive and other times it is as if user and friendly had never been introduced.

Why is it you do the same thing over and over again and then suddenly it you do something slightly different and it works. I can understand why lots of people love the command line. There are so many ways to do the same things by GUI that you can easily miss the area that you need. I don't think I had gone into that properties before to see the become administrator button.

Thank you so much Bob, Writing a list and logging out to boot up in windows to print was really doing my head in. Not been able to sort out a simple power failure was making me feel a failure.

Best wishes
Nappy501
 
Old 07-12-2006, 06:56 AM   #9
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,477

Rep: Reputation: 51
Glad you got it sorted. Yes, sometimes it is necessary to do things as root and as long as you are sane about it, you won't do any real damage.

Quote:
Also is it as easy as windows to delete and install a printer? Would it just have been a matter of deleting the stylusc20 icon and then clicking add printer? Would the machine have then probed and installed the the printer with drivers, like at installation or would I have had to install the drivers?
Almost. When you add a printer you simply follow a dialogue much the same as it is in windows. The difference comes when in Windows you would be asked to insert a driver disk, you would simply choose one from a list of choices in Suse. Printer support has improved dramatically in Linux over the past few years (one exception is Lexmark...stay away from that one as there is very little Linux support.)

I recommend a boot called "Linux in a Nutshell". It isn't cheap (about 35.00 at Waterstones) but it is a terrific reference boot for command line work.

Best regards

Bob
 
Old 07-12-2006, 02:13 PM   #10
nappy501
Member
 
Registered: Mar 2004
Location: UK
Distribution: Redhat 9, then Fedora Core 2, Suse 10.0, 10.2 now 11.3
Posts: 136

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by BobNutfield
SNIPPED
I recommend a boot called "Linux in a Nutshell". It isn't cheap (about 35.00 at Waterstones) but it is a terrific reference boot for command line work.

Best regards

Bob
I shall be ordering it from the Library. Thanks again.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Printing Issues with Epson Stylus C86 hitest Debian 6 12-22-2005 03:43 AM
Epson Stylus C60 - not printing (knoppix) asrisk Linux - Hardware 0 07-04-2005 07:51 AM
Printing barcodes on Epson Stylus C86 edjones Programming 1 06-30-2005 05:37 AM
USB printer problem (Epson Stylus C20UX) jriis Linux - Hardware 2 06-07-2004 05:25 PM
Epson Stylus C60 Printing Problems HadesThunder Linux - Newbie 9 05-14-2004 08:19 AM


All times are GMT -5. The time now is 10:53 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration