Installing on Red Hat 9

Created by Aaron Albright
redhat 9, hplip

Directions for installing HPLIP on Red Hat 9.

Not all hplip features are working, however printing works.

Install Red Hat Development Packages

Red Hat (Icon)
System Settings
Add/Remove Applications

Put check mark next to "Development" then "Update".

Install Required Dependencies

Put Red Hat CD 2 Into cd-rom drive.

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)

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

Install HPLIP
tar xvfz hplip-2.8.2
cd hplip-2.8.2
./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"

Edit cupsd.conf
su -c "/etc/cups/cupsd.conf"

Change Lines near the bottom:

AuthType Basic
AuthClass System

#AuthType Basic
#AuthClass System

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

Add the printer

Click "Add this printer" on the printer that has HPLIP at the end.

(the next step is important)

At the model/driver page select "browse" go to "/usr/share/ppd/HP" directory, select the correct PPD for the printer.

Click "Add Printer"

Go to application to print from, printer should print..

Printing works from OpenOffice and Gedit. Doesn't seem to work from Mozilla...didn't test scanning, may not work. None of the hp- tools work, if these are needed I'll need to work with Don about how to get this working.