Ubuntu 12.04, how to use internal HP LINUX Imaging and Printing software ?

Hi !   Everyone,

I recognized  hplip 3.12.2-1 somewhere in my Ubuntu 12.04, according to the
instruction in HP LINUX main page guide.    Then I want to run the AUTOMATIC
INSTALLER like the below,

   
     $ sh hplip-3.12.2-1.run  


Unfortunately, the following is all I can get,

     $ whereis hplip
     hplip:   /usr/share/hplip

but not exact location of the AUTOMATIC INSTALLER like hplip-3.12.2-1.       Where
is it  ?      Or should I go for DOWNLOADing the newest hplip version ?     Thanks
for your help !
mkidoAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dave GouldOnsite SupportCommented:
It looks like hplip is already installed. You can check this by running "dpkg -l hplip"
This will also give you the version

You might want to add the toolbox too (hplip-gui)
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
gheistCommented:
You need to use CUPS admin interface.
0
mkidoAuthor Commented:
Hi !  Dave Gould,

Actually I did already,
$ dpkg -l hplip
----
----
ii    hplip    3.12.2-1ubuntu       HP Linux Printing and Imaging
So, I am saying that my Ubuntu 12.04 already have 3.12.2-1 of hplip.    
Now, my question was WHAT NEXT ?       Well, I carefully read HP Linux Printing and Imaging pages again, and found the following,

"If you want to use the currently installed version of HPLIP, try running hp-setup in a terminal shell".  

So I did hp-setup, and then it worked well (for my Ubuntu computer).    But my colleague's Ubuntu 12.04 got an error message for missing QTK or else, (just like dependency error).    Well, the complicated situation here is that my office doesn't have HP printer, by my colleague has a HP printer (PSC 1350, All-in-One).    I was doing this for my colleague.    So, one moment.   I may let post here for my colleague's error message, here later on.  

Bye now
0
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

gheistCommented:
Nice walkthrough with pictures:
http://www.wikihow.com/Install-a-Printer-Driver-to-Ubuntu

See your printer here:
http://www.linuxfoundation.org/collaborate/workgroups/openprinting/database/databaseintro
It will show available driver options. You might need more than hplip alone
btw whats your printer? I am eager to say something wise on it ;)
0
Dave GouldOnsite SupportCommented:
You should be able to install an HP printer by going straight to the CUPS interface

open a browser and enter "localhost:631/admin/"
0
mkidoAuthor Commented:
Hi !   Guys, I will post the my Computer's successful HPLIP running screenshot, (however I don't have a HP printer here).   I will get the error message or the error screenshot from my colleague shortly.   Give me time a little while, because my colleague gets into the weekend off work time now.
0
mkidoAuthor Commented:
At terminal, running hp-setup,
0
gheistCommented:
hplip is just one piece of software. Maybe you need gutenprint or foomatic in addition.
0
mkidoAuthor Commented:
Hi Guys,

I finally obtained screenshot of my colleague, which displays the error after Terminal command $ hp-setup.    Her computer is also Ubuntu 12.04, and actually I did the setup.      Up to now, i don't know why mine works and hers doesn't.      Her Ubuntu 12.04 is likely missing one or two critical library (components).    Let me post the screenshot at first.   Sharon-hp-seup-2014-11-10.png
0
mkidoAuthor Commented:
Qt/PyQt 4 is essential for GUI function ?    Then we have to supplement Qt/PyQt4.    What do you think ?
0
gheistCommented:
You need to use --qt3 parameter (hp-setup --qt3). Normally QT is pulled as a dependency of same hp printing package (it is used by e.g. opera browser and skype)
0
mkidoAuthor Commented:
One moment.   I and my colleague are still working on.     My side of Ubuntu 12.04, hplip-3.14.10.run installation successful,  and hp-setup successful again,

$ sh hplip-3.14.10.run
$ hp-setup


My colleague's 12.04, we are working on right now.
0
gheistCommented:
It really insists on running graphical hp-setup:
https://help.ubuntu.com/community/HPPrinterInstallation
0
mkidoAuthor Commented:
Hi  Dave Gould and gheist,

Thank you for all of your comments.   We (I and my colleague) made it SUCCESSFULLY!.   At this time, we stuck around the Terminal command line way.   Here is the summary.    It was really simple after all.

(1)  System is Ubuntu 12.04.    The standard installation from CD, Ubuntu-12.04.2-desktop -i386 (Precise Pangolin), install HPLIP software together.      We can verify it by,

          $ dpkg -l hplip
          the result displays,
          ii    hplip    3.12.2-1ubuntu       HP Linux Printing and Imaging

now HPLIP software is inside there in the computer.

(2)   Once software is there, all we need to do is to run the following command at Terminal.

          $ hp-setup                          (this is the answer to my TITLE question)

(3.1)   When Device Discovery window comes out, almost done.   Go for it.
(3.2)   When warning and error appears like below (the case of my colleague),

     warning :  Qt/PyQt 4 initialization failed
     error :  hp-setup requires GUI support ...

          then, the HP-GUI must be installed in advance to run $ hp-setup, to so do,

          $ sudo apt-get install hp-gui

     This fixed perfectly the error message.   After this, run again $ hp-setup.

Actually I found that just band new Ubuntu OS 12.04 loading installs HPLIP software but missing GUI supporting Qt/PyQt 4.      Therefore, go for,

          $ sudo apt-get install hp-gui

then start $ hp-setup.    THANK YOU EVERYONE.   Bye now.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.