This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
docs:cups_hplip_setup [2010-08-16 09:08] Mateusz Korniak |
docs:cups_hplip_setup [2010-08-16 10:04] Mateusz Korniak |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | Install packages: | ||
- | |||
- | <file>poldek:/all-avail> install cups hplip | ||
- | </file> | ||
- | In case of problems run (as user being in 'lp' group) hplip testing utility: | ||
- | |||
- | <file>hp-check | ||
- | </file> | ||
- | It will print url used in cups www interface. | ||
- | |||
- | |||
- | |||
- | <file>-------------------------- | ||
- | | 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 | ||
- | </file> | ||
- | It may also detect scanners: | ||
- | |||
- | <file>---------------------- | ||
- | | 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 | ||
- | </file> | ||
- | 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/|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|http://wiki.archlinux.org/index.php/CUPS]] | ||
- | |||