Comment 6 for bug 34647

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

I highly recommend to add this driver.

Recommendations to fix the general consistence between foomatic-db and the actually available drivers.

In general, note that foomatic-db contains only information about how to use drivers and PPD files generated with foomatic-db are also only information about how to use drivers. They are not the drivers itself.

If a driver XML file of foomatic-db (in /usr/share/foomatic/db/source/driver/) contains

<ghostscript />

then the corresponding driver is built into GhostScript. To get all of these drivers, ESP GhostScript (package gs-esp) must be built with the option "--with-drivers=ALL,opvp' in the "./configure" command line.

If the driver XML contains

<filter />

an external filter is needed. This means that the software downloadable from the URL mentioned in the <url> line of the same driver XML file needs to be installed.

I HIHGLY RECOMMAND to install all these drivers to assure that every printer/driver combination exposed by the gnome-cups-manager really works.

If for some reason you do not want to ship a certain printer driver with Ubuntu, please remove the corresponding driver XML file from the foomatic-db package. This way entries related to this driver in the gnome-cups-manager disappear. But note that then perhaps some printers will not be supported by Ubuntu.

If the driver XML contains

<uniprint />

you only need an appropriate .upp file in the /usr/share/ghostscript/<version>/lib/ directory. Follow the <url> in the driver XML file if the .upp file is not yet shipped with Ubuntu (most are already in ESP GhostScript). Also here you can remove driver XML files if you do not want to ship the appropriate .upp file.

In any case if you have removed driver XMLs. you must clean up the recommended drivers in the printer entries. To get this done automatically, run the command lines (requires foomatic-db-engine to be installed):

FOOMATICDB=`pwd` /usr/sbin//foomatic-cleanupdrivers
FOOMATICDB=`pwd` /usr/sbin/foomatic-preferred-driver

during the build process of foomatic-db, right after deleting the unwished driver XMLs and before "make install".