Bug#694945: foomatic: cannot get PPD for Canon-PIXMA-iP3000 and many others
Package: foomatic-db-engine
Version: 4.0.8-3
Severity: normal
There are apparently 3 CUPS drivers in Debian for the Pixma iP3000:
gutenprint.5.2://bjc-PIXMA-iP3000/expert
foomatic:Canon-PIXMA-iP3000-gutenprint-ijs.5.2.ppd
foomatic:Canon-PIXMA-iP3000-gutenprint-ijs-simplified.5.2.ppd
If I try to use one of the latter two in CUPS, I get the following
errors when selecting them from the Web UI (here copied from
cups/error_log):
E [02/Dec/2012:16:10:17 +0100] [CGI] Could not determine driver name for Canon-PIXMA-iP3000-gutenprint-ijs.5.2.ppd!
E [02/Dec/2012:16:10:17 +0100] copy_model: empty PPD file
E [02/Dec/2012:16:10:17 +0100] Returning IPP server-error-internal-error for CUPS-Add-Modify-Printer (ipp://localhost/printers/Canon_iP3000_gutenprint_ijs) from localhost
E [02/Dec/2012:16:10:23 +0100] [CGI] Could not determine driver name for Canon-PIXMA-iP3000-gutenprint-ijs-simplified.5.2.ppd!
E [02/Dec/2012:16:10:23 +0100] copy_model: empty PPD file
E [02/Dec/2012:16:10:23 +0100] Returning IPP server-error-internal-error for CUPS-Add-Modify-Printer (ipp://localhost/printers/Canon_iP3000_gutenprint_ijs) from localhost
The problem seems to come from /usr/lib/cups/driver/foomatic itself -
whereas ".../foomatic cat <drv>" works with drivers that specify a
last field with many info (MFG, etc), there seems to be a problem with
those that only show DRV there, which seem to be all those shown by
"/usr/lib/cups/driver/foomatic list | grep -v MFG"
# /usr/lib/cups/driver/foomatic list | grep -i ip3000
"foomatic:Canon-PIXMA-iP3000-gutenprint-ijs.5.2.ppd" en "Canon" "Canon PIXMA-iP3000 Foomatic/gutenprint-ijs.5.2" "DRV:Dgutenprint-ijs.5.2,M0,TF;"
"foomatic:Canon-PIXMA-iP3000-gutenprint-ijs-simplified.5.2.ppd" en "Canon" "Canon PIXMA-iP3000 Foomatic/gutenprint-ijs-simplified.5.2" "DRV:Dgutenprint-ijs-simplified.5.2,M0,TF;"
# /usr/lib/cups/driver/foomatic cat "foomatic:Canon-PIXMA-iP3000-gutenprint-ijs.5.2.ppd"
ERROR: Could not determine driver name for Canon-PIXMA-iP3000-gutenprint-ijs.5.2.ppd!
# /usr/lib/cups/driver/foomatic cat "foomatic:Canon-PIXMA-iP3000-gutenprint-ijs-simplified.5.2.ppd"
ERROR: Could not determine driver name for Canon-PIXMA-iP3000-gutenprint-ijs-simplified.5.2.ppd!
# /usr/lib/cups/driver/foomatic cat "foomatic:Epson-PictureMate_260-gutenprint-ijs.5.2.ppd"|head -1
ERROR: Could not determine driver name for Epson-PictureMate_260-gutenprint-ijs.5.2.ppd!
# /usr/lib/cups/driver/foomatic cat "foomatic:Epson-Stylus_T20-gutenprint-ijs.5.2.ppd"|head -1
ERROR: Could not determine driver name for Epson-Stylus_T20-gutenprint-ijs.5.2.ppd!
...
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages foomatic-db-engine depends on:
ii bash 4.2-4
ii curl 7.26.0-1
ii foomatic-filters 4.0.17-1
ii libc6 2.13-37
ii libxml2 2.8.0+dfsg1-6
ii perl 5.14.2-15
ii wget 1.13.4-3
Versions of packages foomatic-db-engine recommends:
ii cups 1.5.3-2.4
ii cups-client 1.5.3-2.4
ii foomatic-db 20120523-1
ii netcat-traditional [netcat] 1.10-40
Versions of packages foomatic-db-engine suggests:
ii foomatic-db-gutenprint 5.2.9-1
-- no debconf information
Reply to: