This is an old revision of the document!
Install packages:
poldek:/all-avail> install cups hplip
In case of problems run (as user being in 'lp' group) hplip testing utility:
hp-check
It will print url used in cups www interface.
-------------------------- | DISCOVERED USB DEVICES | -------------------------- libusb couldn't open USB device /dev/bus/usb/001/001: Permission denied. libusb requires write access to USB device nodes. (...) Device URI Model ----------------------------------------------- hp:/usb/HP_LaserJet_3050?serial=00CNSK531742 HP LaserJet 3050
It may also detect scanners:
---------------------- | SANE CONFIGURATION | ---------------------- 'hpaio' in '/etc/sane.d/dll.conf'... OK, found. SANE backend 'hpaio' is properly set up. Checking output of 'scanimage -L'... libusb couldn't open USB device /dev/bus/usb/001/001: Permission denied. libusb requires write access to USB device nodes. (...) device `hpaio:/usb/HP_LaserJet_3050?serial=00CNSK531742' is a Hewlett-Packard HP_LaserJet_3050 all-in-one
Start cups daemon.
Configure CUPS via it's web interface by opening page (be sure not use any proxy otherwise you will get noauth error): http://localhost:631/ select tab “Administration” click “Add Printer”. Wait while select “Local Printers”/“HP Printer (HPLIP)” click “Continue”. Paste device URI as detected in hp-check (in my case it was “hp:/usb/Officejet_4300_series?serial=CN68MGJ23N04GR”) Add Printer selecting name without spaces and other special characters, select ppd file for your brand of printer.
In case of problems check http://wiki.archlinux.org/index.php/CUPS