Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi
I successfully un-installed the hplip-3.12.6 because it stopped working a few days ago.
So I went and read the documentation from HP
file:///usr/share/doc/hplip-3.12.6/index.html
And found that they recommend that if your terminal output says
Code:
pp-build=no
The documentation says that it should say
Code:
pp-build=yes
To uninstall so I did using
Code:
sudo rm -rf /usr/share/hplip
Before I go and obtain the .run file and installer from HP and re-install I have a few concerns as I remember the difficulties I had in the terminal during the install process.
At one point the terminal advised me that it was highly recommended not to install as root. However this is how this hplip-3.12.6 functions.
I have never used the Ubuntu Software Center to install things. I'm rusty with Synaptic as well.
If installing by root is not the best thing for me to perform will the Ubuntu Software Center be the other way around this?
If you don't mind my asking why is it a bad idea to install as root?
That what the HP website advises thru the terminal- http://hplipopensource.com/node/184
Also, just after the install ( in the past ) the terminal conveyed:
Code:
Can not get ibus-daemon's address
IBUSInputContext:create InputContext no connection to ibus-daemon
I solved that by going to SYS>Pref?IBus Preferences and made adjustments.
As I have learned from other well educated, experienced members here it is best to ask and get knowledge first. This is my attempt to prepare before the preparation/installation as I'm sure you'd agree; poor preparation can result in poor performance and well....no one wants that-
Looking forward to a painless install that will get my new HP Envy up and running.
Please share and advise
Why did you need to remove hplip-3.12.6? There are a few reasons why the printer could have suddenly stopped working. My first guess is the printer developed a problem after installing up-dates. Yes?
As for installing. If the driver is available in your package repositories (sources list), there should be no trouble installing with either the Software Centre or Synaptic. Although this message:
Quote:
At one point the terminal advised me that it was highly recommended not to install as root.
is a little confusing. Installing such packages requires root privilege, unless Ubuntu has introduced some funky procedures. Of course, it is possible the folks at Canonical want to scare people away from using the terminal for system administration.
Why did you need to remove hplip-3.12.6? There are a few reasons why the printer could have suddenly stopped working. My first guess is the printer developed a problem after installing up-dates. Yes?
As for installing. If the driver is available in your package repositories (sources list), there should be no trouble installing with either the Software Centre or Synaptic. Although this message:
is a little confusing. Installing such packages requires root privilege, unless Ubuntu has introduced some funky procedures. Of course, it is possible the folks at Canonical want to scare people away from using the terminal for system administration.
Randicus:
I uninstalled because the documentation that HP had said that if I did not have yes as the answer to " pp-build " to un-install and re-install to solve the parallel support problem. Also; the error message that I researched on Google did not produce any results for me as I did not upgrade my kernel.
The error message from the terminal was;" unable to communicate with device (code=12) : hp/net Envy_110_series? ip=198.xxx.x.x "
The error message coming from the printer was; Device communication error 5012
The old driver is in my Synaptic and it's the 3.1.? (can't remember) The new driver is in the .run file in my Downloads folder and I don't know where to begin to even try to get that driver out of there.
I'm coming close to my wits end with this printer. I'm thinking of running the .run file anyway in the terminal eventho Ubuntu folks advised me very strongly not to do that. I think their reason is because the hp-3.12.6 requires upkeep.
I've concentrated on this for almost 2 weeks straight and well....I just need a clear solution and what I need to do to get this done.
Could running this .run file in the terminal really cause more havoc than help?
Since you did not mention the presence of up-dates before the problem started, I shall assume that is not the cause.
Quote:
The error message from the terminal was;" unable to communicate with device (code=12) : hp/net Envy_110_series? ip=198.xxx.x.x "
The error message coming from the printer was; Device communication error 5012
Normally, an inability to connect would be the result of improper configuration. However, the printer was working properly, so it must have been configured correctly. At the moment, the only thing I can think of is to check the physical connections, such as the USB cable. If you are lucky, it is a loose connection.
As for pp-build, I am not familiar with it. All I need to do is run hp-setup-i and the printer works fine for ever and anon. But that is installing the printer on Debian. Ubuntu's procedure may be a little different. Does anyone on the Ubuntu forum have any ideas?
Quote:
Could running this .run file in the terminal really cause more havoc than help?
I doubt it, but do not want to state it as a definite certainty.
Last edited by Randicus Draco Albus; 07-22-2012 at 05:22 PM.
My Hp Envy didn't come with a usb cable and HP advises against using one-
The wireless connection is good. I set all of that up previously-
The advise the Ubuntu folks gave me is to find Printing and add the printer and follow the instructions. And if need be manually install the driver. I really can't install the driver in my Synaptic program because HP just made the printer about approx. 3 to 6 months ago and the old driver may not be of assistance.
They also advised me to install the HP driver manually but from the Software Center. I can't exactly do that because that driver ( pretty sure ) is inside on the hplip-3.12.6.run folder and I haven't a clue as to if it is wise to extract that. Ubuntuforums also advised me to execute the .run as a last resort and only use if all else fails-
This is really spinning around. What would you do if this were your circumstances?
Before giving any advice that might screw your system up, I would be interested in what the instructions are in Printing/Add Printer. All I can say for certain is that my printer files are mainly in /usr/share/hplip. There are also a few files in /usr/share/ppd/hplip/HP. But those directories were created when I installed printer, not by me.
My equivalent to Printing has the title Printing - local host. The first two menus are Server and Printer. The Server menu has entries for Connect, Settings and New. If you had a driver installed, I would suggest checking those entries, if you have the same set-up. It could be something as easy as re-connecting the "server".
I must confess that the situation confuses me a little. I was able to simply down-load and install the driver directly from HP's website, then configure afterwards with hp-setup. It would help me if I could read the instructions you have.
Edit
It would also be helpful if you include a link to your thread on the Ubuntu forum.
Last edited by Randicus Draco Albus; 07-22-2012 at 07:32 PM.
I went to Sys?Admin>Printing and I found that the printer is already listed and have confirmation that it is connected to the local host.
This is the HP site that I went to and obtained the hplip-3.12.16.run
The HP website is : http://hplipopensource.com/node/184
I've been writing back and forth with member 3Miro
One of the Ubuntu members advised; " Install as root it will not impact anything "
The other member refers me to a ppa. The only problem I have with that is I do not know what a ppa is-
Is it like a .deb? Secondly I do not know how to work with this ppa even tho I was directed to this webpage. http://ubuntu-tweak.com/source/hplip-isv-ppa/
Practicality now dictates; I need to learn more-
I am going to sit and just think about this for a while ....my head is spinning-and I'm really
1. Uninstall the driver.
2. From the menu find Printing.
3. Select Add Printer and follow the Next->Next->Finish steps.
This advice on the forum looks fine. If it does not work, because you need a PPA, then
Quote:
To add a new ppa, you can either use Synaptic Package Manager
means Synaptic should have the option of adding PPAs to the sources list. You would only need to click on the box to add a check mark. That would allow you to install the package directly to your system. However, I know nothing about Ubuntu's PPAs.
On this site, http://hplipopensource.com/node/184, click Install instructions, then click on the bar that has Download HPLIP >>, follow the steps thereafter, and it should be done. Unfortunately, I cannot look at the individual steps to provide more advice, because at the moment I cannot access that part of the site. (The joy of using the internet in China.) I do not remember the steps, but you will need to choose the driver for your machine, or if it is not there, the closest one to your model, then down-load. I had to go through this procedure twice, because I had to re-install my system after an accident. Both times it was quick and easy.
I could be wrong of course, but I have a feeling you are making a small error by including something not needed that is complicating things. First, try adding the PPAs through Synaptic and installing. If that fails, down-load HPLIP from the above link at HP. And do not forget to curse loudly while doing it. It will make you feel better.
I see the joy of internet is annoying and not to mention you had to reinstall your system-
What a mess....sorry to hear-
Anyway I will try using Synaptic with this ppa.
And if it fails I see my other choice is obvious....use the terminal to install this hplip-3.12.16 so I can be done with it-
Curse loudly depends on how much more of this I can take.
Before coming here I used to live in Germany and in German I am "kaput und fertig-" ( I'm exushed and done)
Randicus:
You are not going to believe this after all you helped me, The HP Envy doesn't print.
This is extremely frustrating
I followed your advice and instruction. I followed the advice and instruction's from the Ubuntu group as well.
The install using the terminal ( to install the hplip-3.12.6 ) was a success but the printer just does not print.
The window comes up and cautions me that a page is printing and than another window opens and shows me the print job is done but fails to produce a freshly printed page.
Keep getting this error message but have not gotten any resolution from any Google searches.
Code:
Device Communication Error 5012
And the other error from the Ubuntu Printing manager says
Code:
usr/lib/cups/backend/hp failed
I honestly don't know what on earth is wrong....Do you?
Last edited by Ztcoracat; 07-24-2012 at 12:36 AM.
Reason: Additional thought
Communication Error
The only thing I can think of is making sure you are in the lp and lpadmin groups.
Try printing something and check your .xsession-errors (/home/user_name). That might have useful information.
Backend Error
/usr/lib/cups/backend/hp is an executable. I do not know, so I am guessing a slight error in configuration?
The good news is it is almost working. Only one kink left to work out. Hopefully .xsession-errors will have the clue. As you can tell, I am not a hardware expert. I simple learned what little I know by trial and error.
Edit
I just sent(?) you a PM. The PM system is a little strange. I sent the message, but the board says no sent messages. If you did not get it, let me know.
Last edited by Randicus Draco Albus; 07-24-2012 at 02:26 AM.
I'll try what you mentioned: Look at the file again and see if maybe there's a configuration error.
I can't do much with the file as it's Owner is root and it's Group is root as well. I'm not the owner so I can not change these permissions.
I do exactly know how to check my .xsession-errors but I'll follow the path of this file:
home/user/_name and try looking in each and see what's going on.
I really want this printer to work and I hope something gives soon. If not I will have to return it for a full refund-
Now, I'm off to do as you have advised -
Thank You
In case you do not know, .xsession-errors is a hidden file. So you must click the Show Hidden Files in your file manager. It shows errors related to the GUI. I do not know if it would include printer errors, but it is worth a look.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.