ppdhtml

Generate HTML from PPD printer files

TLDR

Convert PPD to HTML
$ ppdhtml [file.ppd] > [output.html]
Convert multiple files
$ ppdhtml [file1.ppd] [file2.ppd]

SYNOPSIS

ppdhtml [options] file

DESCRIPTION

ppdhtml reads a PPD or PPD compiler (`.drv`) source file and writes a human-readable HTML summary to standard output. The generated page documents the printer's options groups, UI constraints, paper sizes, resolutions, and other PPD attributes.It is most often used while authoring printer drivers as part of the CUPS DDK toolchain — the same source files that ppdc compiles into installable PPDs.

PARAMETERS

FILE

One or more PPD source (`.drv` / `.ppd`) files to render.
-D NAME=VALUE
Define a variable for the PPD compiler (passed through to `ppdc`).
-I DIR
Add a directory to the include search path.

INSTALL

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

CAVEATS

Output goes only to stdout — there is no `-o` flag; redirect with `> output.html`. The CUPS DDK (which ships `ppdhtml`, `ppdc`, `ppdi`, `ppdmerge`, `ppdpo`) was deprecated upstream in CUPS 2.x and may be packaged separately (e.g., `cups-ppdc` on Debian/Ubuntu).

HISTORY

ppdhtml is part of CUPS for PPD documentation generation.

SEE ALSO

ppdc(1), ppdi(1), cups(1)