LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 07-21-2012, 10:20 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
Wink Before Installing hplip-3.12.6


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
 
Old 07-22-2012, 01:47 AM   #2
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Hiding somewhere on planet Earth.
Distribution: No distribution. OpenBSD operating system
Posts: 1,711
Blog Entries: 8

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
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.
 
Old 07-22-2012, 04:45 PM   #3
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 Randicus Draco Albus View Post
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?
 
Old 07-22-2012, 05:20 PM   #4
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Hiding somewhere on planet Earth.
Distribution: No distribution. OpenBSD operating system
Posts: 1,711
Blog Entries: 8

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
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.
 
Old 07-22-2012, 06:20 PM   #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
Indubitably, didn't run any up-dates.

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?
 
Old 07-22-2012, 07:19 PM   #6
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Hiding somewhere on planet Earth.
Distribution: No distribution. OpenBSD operating system
Posts: 1,711
Blog Entries: 8

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
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.
 
Old 07-22-2012, 08:11 PM   #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
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

The thread where I went to Ubuntu for advise is:
http://ubuntuforums.org/showthread.php?t=2031424

Hope this helps you to help me. This is starting to get a bit much.
I appreciate you helping me and am grateful.
 
Old 07-22-2012, 08:41 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
Good new Randicus:

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
 
Old 07-22-2012, 09:06 PM   #9
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Hiding somewhere on planet Earth.
Distribution: No distribution. OpenBSD operating system
Posts: 1,711
Blog Entries: 8

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
Quote:
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.
 
Old 07-22-2012, 09:48 PM   #10
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
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)

Thank You for helping me
 
Old 07-23-2012, 02:17 AM   #11
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Hiding somewhere on planet Earth.
Distribution: No distribution. OpenBSD operating system
Posts: 1,711
Blog Entries: 8

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
Hoffentlich, Sie haben kein mehr probleme.
If you must install with root, I do not see why it should be problem.
 
Old 07-24-2012, 12:34 AM   #12
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
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
 
Old 07-24-2012, 02:07 AM   #13
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Hiding somewhere on planet Earth.
Distribution: No distribution. OpenBSD operating system
Posts: 1,711
Blog Entries: 8

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635

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.
 
Old 07-24-2012, 09:21 PM   #14
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
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
 
Old 07-24-2012, 10:35 PM   #15
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Hiding somewhere on planet Earth.
Distribution: No distribution. OpenBSD operating system
Posts: 1,711
Blog Entries: 8

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
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.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Please help with installing HPLIP and setting up a printer icedlightblue Linux - Software 11 06-21-2019 08:38 AM
HPlip woes on --current ; Sharing printer gets broken if the hplip gui is launched Old_Fogie Slackware 2 10-28-2010 10:23 AM
[SOLVED] Installing HPLIP on Fedora Core 3 Swanholm Linux - Newbie 10 01-03-2010 10:17 PM
Announcement: new HPLIP (2.7.7) is worth installing stress_junkie Linux - Hardware 1 09-12-2007 12:02 PM
Trouble installing HPLIP on FC4 Spearhead40 Linux - Hardware 1 08-24-2006 07:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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