Re: HPLIP: equivalent of ptal-devid wanted

Tim Waugh <[email protected]> Thu, 9 Jun 2005 16:02:42 +0100
Newsgroups gmane.linux.drivers.hpofficejet.devel
Message-ID <[email protected]>
--lUGOeNWztp/TKlGK
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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.
*/

--lUGOeNWztp/TKlGK
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCqFoSHU/d4jnpWe0RAgIJAJ0fg0fG2V4/MTayTuojBYBdfJDN5wCeNaSN
6nlf1vk35fczjZztXfo3akI=
=o7bQ
-----END PGP SIGNATURE-----

--lUGOeNWztp/TKlGK--


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20