User Tools

Site Tools


docs:cups_hplip_setup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
docs:cups_hplip_setup [2010-06-15 21:49]
Mateusz Korniak
docs:cups_hplip_setup [2010-08-16 10:02]
Mateusz Korniak
Line 1: Line 1:
 Install packages: ​ Install packages: ​
  
-<​file>​poldek:/​all-avail>​ install hplip-3.10.2-4+<​file>​poldek:/​all-avail>​ install ​cups hplip hplip-ppd
 </​file>​ </​file>​
-In case of problems run hplip testing utility: ​+In case of problems run (as user being in '​lp'​ group) ​hplip testing utility: ​
  
 <​file>​hp-check <​file>​hp-check
Line 9: Line 9:
 It will print url used in cups www interface.  ​ It will print url used in cups www interface.  ​
  
-Configure CUPS via it's web interface by opening page: [[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. ​+ 
 + 
 +<​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. ​Add also location (like host/root - useful for identifing which printer you wish to operate on) and if share checkbox.  
 + 
 +Note for HP printers you can use alternate device: usb://​HP/​[[:​LaserJet|LaserJet]]%203050?​serial=00CNSK531742 This probably (?) means no HPLIP code is used ? So it's worth to configure that printer too...  
 + 
 +Also there might be many ppd files for devices:  
 + 
 +<​file>​hpijs pcl3 3.10.2 (en) 
 +pcl3, hpcups 3.20.2 (en) 
 +</​file>​ 
 +No idea what is difference - they come from different sources: ​
  
 In case of problems check [[http://​wiki.archlinux.org/​index.php/​CUPS|http://​wiki.archlinux.org/​index.php/​CUPS]] ​ In case of problems check [[http://​wiki.archlinux.org/​index.php/​CUPS|http://​wiki.archlinux.org/​index.php/​CUPS]] ​
 +
 +
 +
 +===== Printing from windows =====
 +
 +
 +==== Using cups daemon (windows 2000 and up) ====
 +One options is make windows talk  ( via IPP?) using urls taken from list of printers (open in www browser): ​
 +
 +<​file>​ http://<​hostname>:​631/​printers/​
 +</​file>​
 +pick printer url (copy url to buffer) you know it works like: 
 +
 +<​file>​http://<​hostname>:​631/​printers/<​printername>​
 +</​file>​
 +In windows select "add printer"​ select network url and past url from buffor, clikc next, add dirvers for printer if needed. If you do not have drivers use  "MS Publisher Color Printer"​ driver from the "​Generic"​ manufacture.  ​
  
  
docs/cups_hplip_setup.txt · Last modified: 2010-08-16 10:04 by Mateusz Korniak