Chapter 4. Database of Drivers

Table of Contents

4.1. Reading the Database
4.2. Building the Database
4.3. Updating the database

The database of printer drivers is based on PPD files. Both PPD files for PostScript printers (that are provided by manufacturers) and for non-postscript printers (eg. using foomatic-rip) are supported. The usability of a particular particular PPD file for a particular spooler depends on the availability of appropriate filter for the spooler. Additional packages containing filters for GDI printers may be required to allow to print using a PPD file.

The PPD file defines how to filter PostScript to printer-specific data format. It also defines driver-specific options and their possible value. Additionally, it hints the configuration user interface what widget should be used for setting a particular option.

Converting data of other type than PostScript to PostScript is done by filters provided by the spooler and its filter system. This filtering is not dependent on the printer model.

4.1. Reading the Database

The database is stored as a file with the YCP syntax. The file with the database is read via the target agent.