Trying to install my printer Canon S600 (USB), I follow your printing guide... # grep S600 /usr/share/foomatic/db/source/printer/* /usr/share/foomatic/db/source/printer/Canon-S600.xml:<printer id="printer/Canon-S600"> /usr/share/foomatic/db/source/printer/Canon-S600.xml: <model>S600</model> [cut] then # grep S600 /usr/share/foomatic/db/source/driver/* /usr/share/foomatic/db/source/driver/bj8oh06n.upp.xml: <id>printer/Canon-S600</id> [...] /usr/share/foomatic/db/source/driver/gimp-print-ijs.xml: <id>printer/Canon-S600</id> /usr/share/foomatic/db/source/driver/gimp-print.xml: <id>printer/Canon-S600</id> so I: foomatic-configure -s cups -p Canon-S600 -c file:/dev/lp0 -n Canon -d gimp-print (or use -d gimp-print-isj or bj8pa06n.upp) with the 2 gimp-print I get: Use of uninitialized value in string eq at /usr/lib/perl5/vendor_perl/5.8.4/Foomatic/DB.pm line 2160. Use of uninitialized value in string eq at /usr/lib/perl5/vendor_perl/5.8.4/Foomatic/DB.pm line 2160. Use of uninitialized value in string eq at /usr/lib/perl5/vendor_perl/5.8.4/Foomatic/DB.pm line 2160. Use of uninitialized value in string eq at /usr/lib/perl5/vendor_perl/5.8.4/Foomatic/DB.pm line 2160. Use of uninitialized value in string eq at /usr/lib/perl5/vendor_perl/5.8.4/Foomatic/DB.pm line 2160. Use of uninitialized value in substitution (s///) at /usr/lib/perl5/vendor_perl/5.8.4/Foomatic/DB.pm line 3389. the printer get added, but can't print, no error... but different results with the 3 drivers... bj8pa06n.upp: nothing, it "print to /dev/null", i.e. it report it as printed gimp-print: same as the first one, but the led on the printer quickly flash once gimp-print-ijs: lpq report it as active, but stay there until I lprm... gimp-print: 4.2.6 and 4.2.7 foomatic-db: 20040302 Reproducible: Always Steps to Reproduce: 1- emerge gimp-print foomatic-db 2- grep S600 /usr/share/foomatic/db/source/printer/* 2.1- Canon-S600 3- grep S600 /usr/share/foomatic/db/source/driver/* 3.1- bj8oh06n.upp 3.2- gimp-print-ijs 3.3- gimp-print 4- foomatic-configure -s cups -p Canon-S600 -c file:/dev/lp0 -n Canon -d gimp-print 4.1 try the others drivers... Actual Results: it add the printer, but 2 throws some errors, none print Expected Results: get some ink on the paper making a good looking printing it worked before (redhat 7.3)... then broke (redhat8, filled a bugreport, they found some errors, worked after), then worked on gentoo since 1.4rc4, recently broke again Tried: foomatic-db 20031018, 20031231 and 20040302 gimp-print 4.2.5-r2 4.2.6 4.2.7 5.0.0-beta2 -4.2.5-r2 failed to install with some sed errors: [...] creating man/gimpprint-config.1 sed: file conftest.s3 line 14: Unterminated `s' command [...] also tried to rm -rf /etc/cups and re emerge cups, no change at all...
please set loglevel to debug in your cupsd.conf and post the output
I ran into this same issue. What fixed it for me was adding the following USE flags to the /etc/make.conf USE variable cups foomaticdb ppds gimpprint usb And then recompiling all of cups, gimp, gimp-print, foomatic, and ghostscript. emerge cups ghostscript foomatic-filters foomatic-db-engine foomatic-db foomatic gimp-print gimp The foomatic perl should defend itself better...
Thanks Lee Thompson, those USE flags fixed it... what a PITA...