I did not introduce a concept of obsolete drivers into the Foomatic system yet. In principle, I did not remove information/knowledge from the database, so that users of older printers can still use their printers.
The only way to find unneeded drivers for distros up to now is to extract the recommended drivers from all printer entries and take care that at least these drivers are in the distribution and required by the desktop meta package. For all drivers not in the distro then (neither in the list of recommended drivers nor "accidentally" in the distro, fo example as part of an already included package like ESP GhostScript) the driver XML file should be removed from the distro's foomatic-db package. To extract the list of recommended drivers one could do (from the main directory of the foomatic-db source package): grep '<driver>' db/source/printer/*.xml | perl -p -e 's:^.*<driver>(.*?)</driver>.*$:$1:' | grep -v ':' | sort | uniq This extracts only 134 of the 257 registered drivers: grep '<driver>' db/source/printer/*.xml | perl -p -e 's:^.*<driver>(.*?)</driver>.*$:$1:' | grep -v ':' | sort | uniq | wc -l 134 -- OKIPage 4W printer problems https://launchpad.net/bugs/19437 -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
