ports/142996: HP LaserJet 2300L exists in models.dat, but is not found by print/hplip
Leif Neland
leif at neland.dk
Wed Jan 20 08:50:09 UTC 2010
The following reply was made to PR ports/142996; it has been noted by GNATS.
From: Leif Neland <leif at neland.dk>
To: bug-followup at FreeBSD.org, leif at neland.dk
Cc:
Subject: Re: ports/142996: HP LaserJet 2300L exists in models.dat, but is
not found by print/hplip
Date: Wed, 20 Jan 2010 09:42:42 +0100
In hplip-3.9.8/io/hpmud/model.c, line 426 I added debug:
section[n-2]=0; /* remove ']' and CR */
BUG("Comparing '%s' and '%s'\n",model,section);
if (strcasecmp(model, section) == 0)
{
I saw hplip looked for a [hp_laserjet_2300l] section, but there is only
[hp_laserjet_2300]
[hp_laserjet_2300_series]
in models.dat
So I copied the [hp_laserjet_2300] section to a new section
[hp_laserjet_2300l]
and hp-setup finds my printer and I can print happily ever after :-)
But surely this can't be the right method?
Leif
More information about the freebsd-ports-bugs
mailing list