cupstestppd man page for CUPS.
Copyright © 2007-2019 by Apple Inc.
Copyright © 1997-2006 by Easy Software Products.
Licensed under Apache License v2.0. See the file "LICENSE" for more
information.
cupstestppd [ -R rootdir ] [ -W category ] [ -q ] [ -r ] [ -v[v] ] -
The first form of cupstestppd tests one or more PPD files on the command-line. The second form tests the PPD file provided on the standard input.
5 -I filename Ignores all PCFileName warnings.
5 -I filters Ignores all filter errors.
5 -I profiles Ignores all profile errors.
5 -R rootdir Specifies an alternate root directory for the filter, pre-filter, and other support file checks.
5 -W constraints Report all UIConstraint errors as warnings.
5 -W defaults Except for size-related options, report all default option errors as warnings.
5 -W filters Report all filter errors as warnings.
5 -W profiles Report all profile errors as warnings.
5 -W sizes Report all media size errors as warnings.
5 -W translations Report all translation errors as warnings.
5 -W all Report all of the previous errors as warnings.
5 -W none Report all of the previous errors as errors.
5 -q Specifies that no information should be displayed.
5 -r Relaxes the PPD conformance requirements so that common whitespace, control character, and formatting problems are not treated as hard errors.
5 -v Specifies that detailed conformance testing results should be displayed rather than the concise PASS/FAIL/ERROR status.
5 -vv Specifies that all information in the PPD file should be displayed in addition to the detailed conformance testing results.
The -q, -v, and -vv options are mutually exclusive.
5 1 Bad command-line arguments or missing PPD filename.
5 2 Unable to open or read PPD file.
5 3 The PPD file contains format errors that cannot be skipped.
5 4 The PPD file does not conform to the Adobe PPD specification.
find . -name \\*.ppd \\! -exec cupstestppd -q '{}' \\; -printThe next command tests all PPD files under the current directory and print detailed conformance testing results for the files that do not conform:
find . -name \\*.ppd \\! -exec cupstestppd -q '{}' \\; \\ -exec cupstestppd -v '{}' \\;