Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jan 2010 08:50:08 GMT
From:      Leif Neland <leif@neland.dk>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/142996: HP LaserJet 2300L exists in models.dat, but is not found by print/hplip
Message-ID:  <201001200850.o0K8o8aN089586@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/142996; it has been noted by GNATS.

From: Leif Neland <leif@neland.dk>
To: bug-followup@FreeBSD.org, leif@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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001200850.o0K8o8aN089586>