Bug#373722: [Pkg-cups-devel] Bug#373722: web interface doesn't show list of available cupsys-driver-gutenprint drivers when adding a new printer

Martin Steigerwald Martin at lichtvoll.de
Fri Jun 16 13:05:04 UTC 2006


Am Donnerstag 15 Juni 2006 12:49 schrieb Roger Leigh:
> Martin Steigerwald <Martin at Lichtvoll.de> writes:
> > the web interface of cupsys doesn't show the list of available
> > cupsys-driver-gutenprint drivers when adding a new printer. Thus the
> > user has to specify a PPD file manually for that he has to know where
> > those are located (for example
> > /usr/share/cups/model/gutenprint/5.0/en/stp-escp2-600.5.0.ppd.gz).
>
> It works for me with the same version of cupsys and gutenprint.  Could
> you describe exactly what you did on each screen after choosing "add
> printer"?
>
> After choosing "Epson" as the make, I see
>   Epson Stylus Color 660 - CUPS+Gutenprint v5.0.0-rc3 (en)
> in the model list.

Hello Roger,

ok, there goes:

1) Switch on printer

2) http://localhost:631/

3) "Add Printer"

4) Name: EpsonStylusColor600-2
(-2 since I already have one configured, shouldnt matter got the same 
problem without -2)
Location: "" (emptry string)
Description: Epson Stylus Color 600

5) Continue

6) Device: Parallel Port #1 (EPSON)

7) Continue

8) Now I get the model list with the following entries:
- Generic PCL 4 Printer
- Generic PCL 5 Printer
- Generic PCL 5c Printer
- Generic PCL 5e Printer
- Generic PCL 6 / PCL XL Printer
all from "CUPS + Gutenprint v5.0.0-rc3 (en).

No specific Epson driver is offered here nor any drivers from other 
printer vendors, but all the PPD files have been generated on installting 
gutenprint drivers and are available 
in: /usr/share/cups/model/gutenprint/5.0/

I remember one more thing: I had this problem before and solved it by 
reinstalling (AFAIR I used aptitude reinstall cupsys-driver-gutenprint, 
but could also have been dpkg --purge cupsys-driver-gutenprint ; aptitude 
install cupsys-driver-gutenprint).

I can try whether this helps this time, too. But I would rather like to 
find out the cause of the bug first. Do those PPDs have to be registered 
with CUPS somehow? Anything I can have a look at before I try the 
reinstall approach?

How does CUPS know where to look for PPD files? It does not seem to be set 
in the global config files directly:

root at deepdance:/etc/cups -> grep -ir "/usr/share/cups" *
ppd/EpsonStylusColor600.ppd:*StpPPDLocation:    "/usr/share/cups/model/gutenprint/5.0/C/stp-escp2-600.5.0.ppd.gz"

Is this location hardcoded?

Regards,
-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-cups-devel/attachments/20060616/615deb43/attachment.pgp


More information about the Pkg-cups-devel mailing list