Linux Commands Examples

A great documentation place for Linux commands


Generate a PPD file for a given printer/driver combo

see also : foomatic-rip


foomatic-ppdfile [-w] [-d <driver>] -p <printerid>
foomatic-ppdfile [-A] [-P pattern]
foomatic-ppdfile -h

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!


lrwxrwxrwx root/root usr/bin/foomatic-datafile -> foomatic-ppdfile
-rwxr-xr-x root/root usr/bin/foomatic-perl-data
-rwxr-xr-x root/root usr/bin/foomatic-ppd-options


The first form of the foomatic-ppdfile to compute the spooler-independent Foomatic PPD file for any valid printer/driver combo available in the Foomatic database, both for printing with foomatic-rip(1) and for applications/clients being able to access the printer’s options. The PPD file is returned on standard ouput. If the driver is not specified, the default driver is used.

The second form of the foomatic-ppdfile program will search the printer database and return either all printer entries or those whose name and/or model information match a regular expression.

The last form prints a help message and exits.


The (optional) driver name to use. If the driver name is not supplied, the default or first driver in the printers compatible driver list is used.


printer id The printer id.


Return a PPD file that conforms to the Microsoft Windows format limitations.


Return all printer entries in the database.


Return all printer entries in the database which match the regular expression.

exit status

foomatic-ppdfile returns 0 on success, 1 otherwise.


None so far.

Please post bug reports on

see also



Manfred Wassmann <> for the foomatic project using output from the associated binary.

Modified and updated by Patrick Powell <papowell at>.

How can this site be more helpful to YOU ?

give  feedback