Installing the HP printer driver(HPLIP)

Published by jak58 - Last update on September 6, 2009 09:55 AM by jak58

Installing the HP printer driver(HPLIP)







Getting started


INSTALLATION
From the package (see under its distribution)
  • For Mandriva:
    • via the package manager
    • via the console by running the command urpmi hplip



From sources (if you want the latest version).

Installation from sources


Example with an HP Photosmart 7260 printer.
  • To download and install the driver, go to:


http://hplip.sourceforge.net/install/manual/download.html
  • You can read the instructions System Requirements section, listing the packages and other libraries required.
    • For the distributions:


http://hplip.sourceforge.net/install/manual/index.html


*
    • For example for my Mandriva 2007:
    • Configure your system update utility with easyurpmi
  • Install dependencies (in a console as root):

su -c "urpmi gcc-c++ cups cups-devel python-devel PyQt net-snmp-mib net-snmp-devel libjpeg-devel xsane sane-devel make python-imaging"
Download the hplip-2.7.7.tar.gz file.
  • Unzip the file:

tar xvfz hplip-2.7.7.tar.gz



*
    • Then:

cd hplip-2.7.7



*
    • Configuration for installation for a 32-bit based distribution:


./configure --prefix=/usr --disable-xml-install --enable-foomatic-ppd-install --with-hpppddir=/usr/share/cups/model/manufacturer-PPDs/hp
  • Launch as user


Make



*
    • Then run the command


su -c "make install"
  • Refer to the installation manual for post-installation purposes.
    • If you have any concerns over HPLIP, driver installation, most likely you are missing a package or a library.