PDA

View Full Version : Installing HPLIP and setting up HP Photosmart All-in-One



weitjong
7th May 2013, 03:52 PM
Below are the steps that I use to set up my HP Photosmart C6180 All-in-One (printer/scanner/fax) on a F19 (Beta) x86_64 system. I hope you find the steps in this guide useful to you too. The steps should be generic enough for other HP Photosmart models or other HP printer models that are supported by HPLIP. They should be also applicable for 32-bit system.

1. Install hplip packages and its dependencies as root.


# yum install hplip-gui xsane sane-backends-devel cups-devel xsane net-snmp-devel dbus-devel python-devel libsane-hpaio avahi-tools

2. Add "sys" and "lp" groups to user(s). As root, do the following for all the users.


# usermod -a -G sys,lp user

3. Setting up printer and fax queue. This step depends on how your HP device is connected to the computer. If you are using wireless connection like mine then ensure that your device is ping-able or reachable from the computer either using host-name or IP-address (if your network uses fixed IP).


# hp-setup -i host-name

Replace host-name with your device host-name or IP-address. If it is connected using USB, replace it with your USB bus-no:device-no, for example: hp-setup -i 001:002. Note that, I have not tried USB connection myself. See http://hplipopensource.com/hplip-web/tech_docs/man_pages/setup.html for more detail. You can get the bus-no and device-no using the 'lsusb' command.

When prompted, modify the values as necessary or just accept the default.

That's should be it. But you may want to double check the set up by launching "HP Device Manager" from Gnome3 Shell to see if the software talks to HP device correctly.

Another way to verify the set up is by issuing this command from terminal as normal user.


$ hp-check

Check the summary that you have no missing required or optional dependencies. You may notice an error/warning due to SELinux that may prevent fax from working. Personally, I ignore that warning. I keep my system to have enforcing SELinux. Anyway, I seldom use the fax functionality. What's important to me is a working print and scan functionalities. It should be a no-brainer to figure out how to print. To scan, I usually use xsane invoked via HP Device Manager's Scan action, however, the Gnome3 also provides an app called Simple Scan which also does the job well.

HTH.

smr54
7th May 2013, 04:12 PM
I'm going to add that if you're not using Gnome, especially if you started from a minimal install, you may need to install
libsane-hpaio for scanning to work.

weitjong
7th May 2013, 05:35 PM
Thanks for the feedback. Yes, I agree. My F19 installation probably already got that package pre-installed as I choose Gnome3 DE which comes with Simple Scan. I have added it into the list in the first post.

smr54
7th May 2013, 05:56 PM
Thank you. The bug was actually reported a long time ago, and sort of fixed--by sort of, it got put in if you got system-config-printer or whatever the tool is called. It didn't get into hplip and therefore, the maintainer did leave the ticket open.

Thank you for your guide, it's now a place to send people with HP printing issues.