Linux Commands Examples

A great documentation place for Linux commands


Compile the Foomatic printer/driver database

see also : foomatic-ppdfile - foomatic-configure


foomatic-compiledb [ -t type ] [ -f ] [ -j ] [  driver ...  ]

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!


no example yet ...

... Feel free to add your own example above to help other Linux-lovers !


foomatic-compiledb generates all PPD files or Foomatic combo XML files for all possible printer/driver combos, or only for a selected range of drivers. It generally should not be necessary except for people who want to generate a set of Foomatic data files for distribution. For configuring single printers foomatic-ppdfile(1) and especially foomatic-configure(1) will automagically compute just what they need.


-t type

Output file type, either ppd or xml.


Force: Write into the destination directory even if it already exists.

-j n

n = number of work processes to run

driver ...

only generate data files for these driver(s)

exit status

foomatic-compiledb returns 0 unless something unexpected happens.


Existing files are always conserved instead of older files being overwritten. So deleting the destination directory (rm -rf dir) and calling foomatic-compiledb without the -f option is recommended.

Please post bug reports on

see also

foomatic-ppdfile , foomatic-configure


Manfred Wassmann <> and Till Kamppeter <till.kamppeter[:at:]gmx[:dot:]net> for the foomatic project using output from the associated binary.

How can this site be more helpful to YOU ?

give  feedback