From: Tim W. <tw...@re...> - 2005-06-09 15:02:48
|
On Thu, Jun 09, 2005 at 03:31:12PM +0200, Till Kamppeter wrote: > I use "lpinfo -v" to get available "hp://..." URIs. To associate=20 > /dev/usb/... devices to them, I do "getusbprinterid.pl <device>" and=20 > find the "hp://..." URI which contains the "MODEL" or "MDL" field of the= =20 > detected ID string right after "hp://usb/" and, if available, matches=20 > the serial number. Okay. Well, I think I'll just ship hp-devid along with the Fedora Core printer configuration tool for the time being, since that fits into the existing code more easily. > To determine whether a printer is supported by HPLIP already before > installing/starting HPLIP I match the '<model name=3D"...">' in > /usr/share/hplip/data/xml/models.xml against the "MODEL" or "MDL" > field of the detected ID string. The HPLIP RPM I have made in a way > that /usr/share/hplip/data/xml/models.xml is in a separate RPM and > this separate RPM is always installed. printerdrake installes the > rest of HPLIP when it detects a supported printer. That's clever, but isn't that information already in foomatic? Tim. */ |