foomatic-datafile1
Generate a ppd file for a given printer/driver combo
Part of foomatic-ppdfile(1).
Usage
foomatic-ppdfile [-w]
[-d
<driver>]
-p
<printerid>
foomatic-ppdfile [-A]
[-P
pattern]
foomatic-ppdfile -h
Overview
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 output. 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.
Options
-ddrivername-
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.
-
-p -
printer id The printer id.
-
-w -
Return a PPD file that conforms to the Microsoft Windows format limitations.
-
-A -
Return all printer entries in the database.
-
-Ppattern -
Return all printer entries in the database which match the regular expression.
Exit status
foomatic-ppdfile returns 0 on success, 1 otherwise.
History
- Debian 13 (Trixie) to Debian 10 (Buster): the text shown here
- Debian 9 (Stretch) to Debian 5.0 (Lenny)
- Debian 4.0 (Etch) to Debian 3.1 (Sarge)
- Debian 3.0 (Woody)
-A since Debian 3.1 (Sarge);
-P since Debian 3.1 (Sarge);
-w since Debian 3.1 (Sarge).
-d until Debian 3.0 (Woody);
-f until Debian 3.0 (Woody);
-t until Debian 3.0 (Woody).