Jump to content United States-English
» Contact HP

HP Linux imaging and printing

Print, scan and fax drivers for Linux




» About HPLIP
» Screenshots
» Release information
» Licensing information
» Get help

Install and setup

» Download instructions
» Installation instructions
» Installation wizard
» Supported printers
» System requirements
Content starts here

Install HPLIP on Red Hat 9

Applies To
Linux OS Distribution(s): 
Red Hat 9
Required Steps: 

If all hplip features aren't working properly on Red Hat 9, however, printing is behaving properly then follow these directions for installing HPLIP:

I. Install Red Hat Development Packages:
1.  Click on Red Hat (Icon)
2.  Click on System Settings
3.  Click on Add/Remove Applications
4.  Put check mark next to "Development" then "Update".

II. Install Required Dependencies
1.  Put Red Hat CD 2 Into cd-rom drive.
2.  Run:

su -c "rpm -vi /mnt/cdrom/RedHat/RPMS/libjpeg-devel-6b-26.i386.rpm"
su -c "rpm -vi /mnt/cdrom/RedHat/RPMS/cups-devel-1.1.17-13.i386.rpm"
su -c "rpm -vi /mnt/cdrom/RedHat/RPMS/sane-backends-devel-1.0.9-5.i386.rpm"

(if the above commands don't work you may need to change the cd-rom mount path)

III. Install CUPS 1.2 from source
1.  Download a copy of the cups software from their website.
2.  Run the following commands from a terminal window:

tar xvfz cups-1.2.12-source.tar.gz
cd cups-1.2.12
./configure --prefix=/usr
su -c "make install"

IV. Install HPLIP
1.  Download the latest tarball here.
2.  Run the following commands from a terminal window:

tar xvfz hplip-3.9.4.tar.gz
cd hplip-3.9.4
./configure --disable-network-build --disable-pp-build --disable-fax-build --enable-gui-build --enable-scan-build --enable-doc-build --enable-foomatic-ppd-install --disable-foomatic-drv-install --with-hpppddir=/usr/share/ppd/HP --disable-hpijs-only-build --prefix=/usr
su -c "make install"

V. Edit cupsd.conf
1.  Run the following command from a terminal window:

su -c "/etc/cups/cupsd.conf"
2.  Change the following lines near the bottom:
AuthType Basic
AuthClass System

#AuthType Basic
#AuthClass System

VI. Restart CUPS
1.  Run the following commands from a terminal window:

su -c "/etc/init.d/cups restart"

VII. Add the printer
1.  Go to the localhost site.
2.  Click "Add this printer" on the printer that has HPLIP as a suffix at the end of the printer name.
(The next step is important)
3.  At the model/driver page select "browse" go to "//usr/share/ppd/HP" directory, be sure to select the correct PPD for the printer, it should contain the printer model that you are trying to add.
4.  Click "Add Printer"
5.  Go to the application you would like to print from and the printer should print.