Step 1: Installation Prerequisite Steps
View the current Release Notes for additional information on this release.
Note
You will need root access to complete many of the steps while installing HPLIP. If you do not have root access contact your system admin for assistance.
Step 2: Install Dependency Packages
A. Open a terminal shell.
B. Configure repositories for URPMI.
Important
First configure your system using EasyURPMI .
C. To Ensure you are installing the most up to date dependencies you may want to disable your CD Sources.
D. Install the required depencencies for HPLIP:
Note
You will be prompted for your root password.
Mandriva 2010.0 and newer:
su - -c "urpmi --allow-force --force --auto cups cups-common libcups2-devel libcups2 libdbus-1-devel python-gobject gcc-c++ ghostscript libopenssl0.9.8-devel libjpeg-devel libnet-snmp-devel glibc-i18ndata glibc_lsb libtool libgphoto-devel libusb1.0-devel make wget python-imaging policykit policykit-gnome python-qt4 qt4-qtdbus python-dbus libpython2.6-devel python python-reportlab saned libsane1-devel sane-backends libsane1 xsane sane-frontends"
Step 3: Download HPLIP
Note
We recommend that you download the HPLIP tarball to your home or desktop directory.
A. Click here to Download the Regular Tarball
B. Go to the directory where you downloaded the HPLIP tarball.
Example:
cd ~/Desktop
C. Uncompress the tarball.
Enter this command:
tar xvfz hplip-3.12.6.tar.gz
This will create a directory with the same name as the tarball file.
D. Change your working directory to the hplip-3.12.6 directory.
Example:
cd hplip-3.12.6
Step 4: Configure HPLIP for installation
A. This step configures the development environment and checks that your system is ready to install HPLIP.
For specific information on using ./configure and the different options please go here. Also reference your distro documentation and configuration for additional information on which tags are relevant.Enter this command (select the appropriate command depending on your system configuration):
32 bit distro users (most users will use this command):
./configure --with-hpppddir=/usr/share/ppd/HP --prefix=/usr --enable-qt4 --disable-libusb01_build --enable-doc-build --disable-cups-ppd-install --disable-foomatic-drv-install --disable-foomatic-ppd-install --disable-hpijs-install --disable-udev_sysfs_rules --disable-policykit --enable-cups-drv-install --enable-hpcups-install --enable-network-build --enable-dbus-build --enable-scan-build --enable-fax-build
64 bit distro users:
./configure --with-hpppddir=/usr/share/ppd/HP --libdir=/usr/lib64 --prefix=/usr --enable-qt4 --disable-libusb01_build --enable-doc-build --disable-cups-ppd-install --disable-foomatic-drv-install --disable-foomatic-ppd-install --disable-hpijs-install --disable-udev_sysfs_rules --disable-policykit --enable-cups-drv-install --enable-hpcups-install --enable-network-build --enable-dbus-build --enable-scan-build --enable-fax-build
Step 5: Run Make
A. This step will compile the HPLIP source.
Important
You want to run make as a regular user, NOT as root.
Enter this command:
make
Step 6: Run Make Install
A. This step will install HPLIP.
Enter this command:
su -c "make install"
Step 7: Post Installation Steps
A. Verify cups is configured correctly.
Enter this command:
su -c "vi /etc/cups/cupsd.conf"
Find the line:
"Group sys"
change to:
"Group lp"
Save and exit the file.
Restart cups
su -c "/etc/init.d/cups restart"
B. Change the PAM console permissions for HPLIP to run correctly:
Enter this command:
chmod 700 /usr/lib/cups/backend/hp
C. For normal users other than root add user name to "lpadmin" and "lp" group, you will need to do the following:
run "userdrake" on terminal select username click on "Edit" button select "Groups" tab Check "lpadmin" and "lp" combobox and click on ok button close userdrake window
Restart your PC (or) logout and login to machine
D. If you are going to be setting up a printer with USB and the printer is already plugged in, you will need to do one of the following:
- Unlpug and re-plug in the USB printer, or
- Restart your PC.
Failure to do this will cause your USB printer to not be detected by HPLIP.