Slackware includes the HPLIP package (it's installed by default if you did a full install). HPLIP provides support for pretty much every printer HP makes; however, you may want to download the current version from HP if you have a brand-new printer (see below).
You do the printer installation by executing
hp-setup in a terminal window like this:
Code:
su - or sudo
hp-setup
See
http://hplipopensource.com/hplip-web.../hp_setup.html for guidance.
If your printer includes a scanner, you will need to add your user(s) account(s) to the
lp and
scanner groups. If you
You should see
Code:
users lp floppy dialout audio video cdrom plugdev power usbfs netdev scanner
If
lp and
scanner do not appear in that list,
Code:
su - or sudo
usermod -a -G lp,scanner your_user_id
Now, if you have a brand-new printer model, HPLIP may not include support for it. So, you need to do a little work before you start. First, go to
http://prdownloads.sourceforge.net/h...-3.12.2.tar.gz to download the current version of HPLIP (3.12.2).
Then, grab your Slackware CD/DVD, inset it in a drive and do something like this
Code:
su - or sudo
cd /usr/local
cp -pr /media/SlackDVD/source/ap/hplip .
cd hplip
delete the file named hplip-3.11.3a.tar.xz
delete the file named hplip*.t?z
move the tarball you downloaded into this directory
hplip.SlackBuild
wait a while
upgradepkg /tmp/hplip*.t?z
mv /tmp/hplip*.t?z .
What that did was upgraded you existing HPLIP to the current version; chances are, if you have a brand-new-model it will be fully supported.
Note that you may want to make this printer the system default. You do that in CUPS by navigating to
http://localhost:631, click
Printers, click the name of the printer you just installed, click
Administration and finally click
Set as Server Default.
Hope this helps some.