LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

cupstestppd

validate PostScript Printer Description files

TLDR

Test a PPD file
$ cupstestppd [file.ppd]
copy
Test with verbose output
$ cupstestppd -v [file.ppd]
copy
Test with detailed conformance and all PPD information
$ cupstestppd -vv [file.ppd]
copy
Quiet mode (only errors)
$ cupstestppd -q [file.ppd]
copy
Test from stdin
$ cat [file.ppd] | cupstestppd -
copy
Test with relaxed conformance requirements
$ cupstestppd -r [file.ppd]
copy

SYNOPSIS

cupstestppd [options] file.ppd [files...]

DESCRIPTION

cupstestppd tests the conformance of PPD files to the Adobe PostScript Printer Description file format specification version 4.3. It can also be used to list the supported options and available fonts in a PPD file. It accepts filenames on the command line or reads from standard input when given a dash (-) argument.Exit code 0 indicates a valid PPD file.

PARAMETERS

-v

Detailed conformance testing results.
-vv
Display all PPD information in addition to detailed conformance results.
-q
Quiet mode, only show errors.
-r
Relaxed conformance: treat common whitespace, control character, and formatting problems as non-fatal.
-W category
Report errors as warnings for a category: filters, profiles, sizes, translations, all, or none.
-I category
Ignore errors for a category: filename or filters.
-R root
Set alternate root directory.

SEE ALSO

cupsd(8), lpadmin(8)

Copied to clipboard
Kai