ppdi

Import PPD files into CUPS driver format

TLDR

Import PPD files
$ ppdi [file.ppd]
Import to specific directory
$ ppdi -d [output_dir] [file.ppd]
Import multiple files
$ ppdi [file1.ppd] [file2.ppd]

SYNOPSIS

ppdi [options] files

DESCRIPTION

ppdi imports existing PPD (PostScript Printer Description) files into the CUPS driver source format (.drv). This is the reverse operation of ppdc, allowing administrators to convert standalone PPD files into the compact driver source format for easier maintenance and distribution.The imported driver source files can then be edited to add new printer models or modify options, and recompiled with ppdc. This workflow simplifies managing large collections of printer definitions by consolidating them into shared driver source files.

PARAMETERS

FILES

Input PPD files.
-d DIR
Output directory.
-o FILE
Output file name.

INSTALL

sudo apt install cups-ppdc
sudo dnf install cups-client
sudo apk add cups-client
sudo zypper install cups-client

CAVEATS

CUPS specific. Creates driver source files.

HISTORY

ppdi is part of CUPS for PPD file importing.

SEE ALSO

ppdc(1), ppdhtml(1), cups(1)