LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-04-2014, 05:35 PM   #1
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
HP Envy 110 Printer, Device Communication Error (5012)


Hi:

The last time I had my Slackware machine on my HP Envy Printer worked fine. Since than there have been a few nasty thunderstorms with lightning. I hope it didn't destroy my printer.

It made a copy for me a while ago so that's working.
It just won't print any job so I cancelled them.

The HP Device Manager says:
Code:
the queue Envy_110 is not enabled /usr/lib64/cups/backend/hpfailed
It's suggested when I troubleshoot with the HP Device Manager to enable it select the 'Enable' checkbox in the "Polices" tab for the printer in the printer administration tool to start.
I do not have a policies tab Took a screenshot to show you what's going on.
http://s1052.photobucket.com/user/Ul...Error.png.html

http://s1052.photobucket.com/user/Ul...nter2.png.html

I have been in the Settings>Print Settings twice and ensured that it is enabled but it doesn't make any difference.

Any help would be greatly appreciated-
 
Old 07-05-2014, 02:07 AM   #2
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
Hey Zt,

Really interesting examination of a related problem

I'm not sure if it's 'cupsd.conf' or 'printers.conf' but check and see if
Code:
 cat /etc/cups/printers.conf (or maybe cupsd.conf) | grep -n ' /usr/lib64/cups/backend/hpfailed'
returns anything interesting.
What may have happened when you had a power outage is cups marked the printer as failed and now HP Device Manager cannot get it to reconsider that hasty decision. The line number will be helpful in locating it to fix it.
BTW, did you ever flash that bios on the new mother board? How did that work out?
 
Old 07-05-2014, 08:22 AM   #3
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
Something you might want to try... you have HPLIP on your system, so:

It can't hurt to simply delete a printer and re add it with hp-setup (part of HPLIP); you do not need to be logged in as root to do this (you'll be prompted for the password when it's needed).

Open CUPS in your browser (http://localhost:631) then select Printers. Select the printer, then Maintenance, then Cancel all Jobs (just to make sure there are no pending jobs). Then select Administration, then Delete Printer.

Exit CUPS.

Open a terminal window and enter
Code:
hp-setup
This will walk you through discovery of the printer (which reads all the information from the printer) and creates the CUPS entries for you. You might want to use a short name for the printer on the window that displays the information read from the printer.

If hp-setup can't see the printer, exit hp-setup and disconnect the USB cable, wait a few seconds and plug it back in in either the same jack or a different USB jack and restart hp-setup. You may want to shut the printer off and then turn it back on (wait while it goes through its little start up sequence before executing hp-setp).

Most of the time, this will "fix" the problems you're describing.

By the way, once you've installed an H-P printer with hp-setp you'll notice a blue circle with the H-P logo on your panel. You can manage the printer from that and do all sorts of things. Also, once HPLIP is running, if you plug in another H-P device it will be automatically configured and added to CUPS for you.

The final step is to open CUPS again, select Printers, select the printer, select Administration and select Set As Server Default. That way, you can do things like
Code:
lp filename
cat filename | lp
awk -f filename.awk file | lp
and things like that.

Your printer may have gotten fried (may!). In that case, well, it's a copy machine or a doorstop, sorry.

Hope this helps some.
 
1 members found this post helpful.
Old 07-05-2014, 09:47 AM   #4
Paulo2
Member
 
Registered: Aug 2012
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 928

Rep: Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515
The printer is stopped, according to the screenshot.
This happens to me sometimes too, I don't know why.
Note that even if the printer is turned off, it will appear as "started/idle".

Click on the "Start printer", I think it will ask for root password.

There is also a command line option

http://www.linuxquestions.org/questi...6/#post5111483
 
Old 07-05-2014, 11:39 AM   #5
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by dijetlo View Post
Hey Zt,

Really interesting examination of a related problem

I'm not sure if it's 'cupsd.conf' or 'printers.conf' but check and see if
Code:
 cat /etc/cups/printers.conf (or maybe cupsd.conf) | grep -n ' /usr/lib64/cups/backend/hpfailed'
returns anything interesting.
What may have happened when you had a power outage is cups marked the printer as failed and now HP Device Manager cannot get it to reconsider that hasty decision. The line number will be helpful in locating it to fix it.
BTW, did you ever flash that bios on the new mother board? How did that work out?
I see the reason paused and the type # in the readout, not sure what that means--
Code:
root@redhatcat:~# cat /etc/cups/printers.conf
# Printer configuration file for CUPS v1.5.4
# Written by cupsd on 2014-07-04 08:38
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
<Printer ENVY_110>
UUID urn:uuid:52ab4cc6-31cd-321c-6657-f33a2c17d0e7
Info ENVY_110
MakeModel HP Envy 110 Series, hpcups 3.13.10
DeviceURI hp:/net/ENVY_110_series?ip=192.168.254.9
State Stopped
StateMessage /usr/lib64/cups/backend/hp failed
StateTime 1404477454
Reason paused
Type 36892
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
BTW this printer is not connected to my desktop tower via usb.
It is connected to my wireless network.

Haven't flashed the BIOS yet as MSI just made a new BIOS update and I haven't been able to find the box the mobo came in. MSI needs the model and serial number to give me confirmation for the correct BIOS Update.
 
Old 07-05-2014, 11:57 AM   #6
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by tronayne View Post
Something you might want to try... you have HPLIP on your system, so:

It can't hurt to simply delete a printer and re add it with hp-setup (part of HPLIP); you do not need to be logged in as root to do this (you'll be prompted for the password when it's needed).

Open CUPS in your browser (http://localhost:631) then select Printers. Select the printer, then Maintenance, then Cancel all Jobs (just to make sure there are no pending jobs). Then select Administration, then Delete Printer.

Exit CUPS.

Open a terminal window and enter
Code:
hp-setup
This will walk you through discovery of the printer (which reads all the information from the printer) and creates the CUPS entries for you. You might want to use a short name for the printer on the window that displays the information read from the printer.

If hp-setup can't see the printer, exit hp-setup and disconnect the USB cable, wait a few seconds and plug it back in in either the same jack or a different USB jack and restart hp-setup. You may want to shut the printer off and then turn it back on (wait while it goes through its little start up sequence before executing hp-setp).

Most of the time, this will "fix" the problems you're describing.

By the way, once you've installed an H-P printer with hp-setp you'll notice a blue circle with the H-P logo on your panel. You can manage the printer from that and do all sorts of things. Also, once HPLIP is running, if you plug in another H-P device it will be automatically configured and added to CUPS for you.

The final step is to open CUPS again, select Printers, select the printer, select Administration and select Set As Server Default. That way, you can do things like
Code:
lp filename
cat filename | lp
awk -f filename.awk file | lp
and things like that.

Your printer may have gotten fried (may!). In that case, well, it's a copy machine or a doorstop, sorry.

Hope this helps some.
Your Instructions worked! Thank You so much!

Opening Cups in my browser going through Maintenance, cancelling all jobs and deleting the printer is just what I did. After doing so I used the terminal to reset "hp-setup"
As soon as I closed the terminal I went directly to the document I needed printed and it was a success!
 
Old 07-05-2014, 11:59 AM   #7
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by Paulo2 View Post
The printer is stopped, according to the screenshot.
This happens to me sometimes too, I don't know why.
Note that even if the printer is turned off, it will appear as "started/idle".

Click on the "Start printer", I think it will ask for root password.

There is also a command line option

http://www.linuxquestions.org/questi...6/#post5111483
I tried 'Start Printer' several times and it did ask for the root psswrd but for some reason it didn't help.

Thanks for the link-
 
Old 07-05-2014, 12:09 PM   #8
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
It nice to have a working printer!

http://s1052.photobucket.com/user/Ul...nCups.png.html

http://s1052.photobucket.com/user/Ul...Setup.png.html

@dijetlo:
Is it possibly that when the lights flickered a few times during the thunderstorm is that what made cups hick-cup or short circuit? (like you said cups couldn't reconsider)

I'm thinking that your correct because my internet did go down for maybe 2-5 min's and than the network was back up and running again.

Last edited by Ztcoracat; 07-05-2014 at 12:11 PM.
 
  


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
HP psc 750/device communication error 5012/HPLIP 3.10.2 jorgemarmo Linux - Hardware 0 07-16-2010 06:03 PM
upgrade to Slackware 13.0, printer communication error, hplip noviciado Linux - Hardware 5 10-18-2009 01:31 PM
HD works fine, but what´s usb 5-7.1: device descriptor read/64, error -110? Coyote34 Linux - Hardware 0 08-22-2008 01:20 PM
device descriptor read/8, error -110 seagate external hard drive genex Linux - Hardware 1 09-08-2007 12:40 PM
USB camera - device not accepting address .., error -110 ndegrace Linux - Hardware 4 05-28-2005 11:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:49 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