Step 2: Install Dependency Packages
A. Open a terminal shell.
B. Update your apt repositories.
Enter this command:
sudo apt-get update
C. Install the required dependency packages.
Enter this command: (choose the appropriate command depending on your version)
PCLinuxOS
su -c "apt-get install --yes libcups2 libcups2-devel libdbus-1_3-devel gcc-c++ ghostscript openssl libjpeg62-devel libnet-snmp10-devel glibc libtool libusb-devel make python-imaging PyQt4 dbus-python python-gobject libpython2.4-devel python python-reportlab sane-frontends libsane1-devel xsane"
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.10.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.10.6 directory.
Example:
cd hplip-3.10.6
Step 6: Run Make Install
A. Run the symlink fix script.
sudo python ./installer/fix_symlink.py
Or to run the script manually run:
cat /installer/fix_symlink.py
B. This step will install HPLIP.
Enter this command:
sudo make install
Step 7: Post Installation Step(s)
A. Verify cups is configured correctly.
Enter this command:
su -c "kate /etc/cups/cupsd.conf"
Find the line:
"Group sys"
change to:
"Group lp"
Save and exit the file.
B. Change the permissions in the mandriva.perms file.
Enter this command:
su -c "kate /etc/security/console.perms.d/50-mandriva.perms"
Change:
<usb>=/dev/usb/dabusb* /dev/usb/mdc800* /dev/usb/rio500 /dev/ttyUSB* /proc/bus/usb/[0-9][0-9][0-9]/[0-9][0-9][0-9] dev/bus/usb/[0-9][0-9][0-9]/[0-9][0-9][0-9]
To:
<usb>=/dev/usb/dabusb* /dev/usb/mdc800* /dev/usb/rio500 /dev/ttyUSB*
Save and exit the file.
C. 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.