Unable to open USB device

Michael Sweet mike at easysw.com
Tue May 30 06:47:42 PDT 2006


mythyu wrote:
> i use "lpadmin -p DJ5440 -E -v usb:/dev/usb/lp0  -m HP-DeskJet_5440-hpijs.ppd"
> there is the "Unable to open USB device "usb:/dev/usb/lp0": Success" error .The success means the device exists, and the printer is switched
> on. Bu i can't lpr it .please tell me why?
> 
> And when i use "lpinfo -v". i can find "direct usb://HP/Deskjet%205400%20series?serial=TH58B120MP04JK" so i use it.
> 
> like this "lpadmin -p DJ5440 -E -v usb://HP/Deskjet%205400%20series?serial=TH58B120MP04JK -m HP-DeskJet_5440-hpijs.ppd"
> that's ok. i can use lpr ,but the project i am changing need "usb:/dev/usb/lp0".
> so ,please help me!

URIs of the form "usb:/dev/usb/*" are no longer supported in CUPS
1.2, largely because those device names are not stable, i.e. the
number will change on you whenever you boot, cycle the power on the
printer, or disconnect/connect the printer.

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Document Software          http://www.easysw.com




More information about the cups mailing list