From: Solomon P. <pi...@sh...> - 2015-09-21 18:38:57
|
On Tue, Sep 22, 2015 at 03:28:53AM +0900, Gernot Hassenpflug wrote: > Does getusbprinterid.pl work on the new libusb devices? > root@hase:/usr/share/system-config-printer# ./getusbprinterid.pl > /dev/bus/usb/010/003 > Died at ./getusbprinterid.pl line 12. Same things happens on my x86_64 system: Bus 001 Device 007: ID 04f9:0039 Brother Industries, Ltd HL-5340 series perl getusbprinterid.pl /dev/bus/usb/001/007 Died at /home/pizza/getusbprinterid.pl line 12. And the CUPS USB backend finds it just fine: /usr/lib/cups/backend/usb direct usb://Brother/HL-5340D%20series?serial=M9J473381 "Brother HL-5340D series" "Brother HL-5340D series" "MFG:Brother;CMD:PJL,PCL,PCLXL;MDL:HL-5340D series;CLS:PRINTER;" "" Come to think of it, any reason you can't just invoke the CUPS USB backend to get the IEEE1284 ID? - Solomon -- Solomon Peachy pizza at shaftnet dot org Delray Beach, FL ^^ (email/xmpp) ^^ Quidquid latine dictum sit, altum viditur. |