1. NAME

foomatic-ppdfile - Generate a PPD file for a given printer/driver combo

2. SYNOPSIS

foomatic-ppdfile [-w] [-d <driver>] -p <printerid>

foomatic-ppdfile [-A] [-P pattern]

foomatic-ppdfile -h

3. DESCRIPTION

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.

3.1. Options

  • -d drivername
         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.

  • -P pattern
         Return all printer entries in the database which match the regular expression.

4. SEE ALSO


      foomatic-rip (1)

5. EXIT STATUS

foomatic-ppdfile returns 0 on success, 1 otherwise.

6. AUTHOR

Manfred Wassmann <\ \fR> for the foomatic project using output from the associated binary. Modified and updated by Patrick Powell <\fIpapowell at astart.com\fF>.

7. BUGS