1cupstestppd(1)                   OpenPrinting                   cupstestppd(1)
2
3
4

NAME

6       cupstestppd - test conformance of ppd files (deprecated)
7

SYNOPSIS

9       cupstestppd  [ -I category ] [ -R rootdir ] [ -W category ] [ -q ] [ -r
10       ] [ -v[v] ] filename.ppd[.gz] [ ...  filename.ppd[.gz] ]
11       cupstestppd [ -R rootdir ] [ -W category ] [ -q ] [ -r ] [ -v[v] ] -
12

DESCRIPTION

14       cupstestppd tests the conformance of PPD files to the Adobe  PostScript
15       Printer Description file format specification version 4.3.  It can also
16       be used to list the supported options and  available  fonts  in  a  PPD
17       file.   The  results  of  testing  and any other output are sent to the
18       standard output.
19
20       The first form of cupstestppd tests one or more PPD files on  the  com‐
21       mand-line.  The second form tests the PPD file provided on the standard
22       input.
23

OPTIONS

25       cupstestppd supports the following options:
26
27       -I filename
28            Ignores all PCFileName warnings.
29
30       -I filters
31            Ignores all filter errors.
32
33       -I profiles
34            Ignores all profile errors.
35
36       -R rootdir
37            Specifies an alternate root directory for the filter,  pre-filter,
38            and other support file checks.
39
40       -W constraints
41            Report all UIConstraint errors as warnings.
42
43       -W defaults
44            Except  for size-related options, report all default option errors
45            as warnings.
46
47       -W filters
48            Report all filter errors as warnings.
49
50       -W profiles
51            Report all profile errors as warnings.
52
53       -W sizes
54            Report all media size errors as warnings.
55
56       -W translations
57            Report all translation errors as warnings.
58
59       -W all
60            Report all of the previous errors as warnings.
61
62       -W none
63            Report all of the previous errors as errors.
64
65       -q   Specifies that no information should be displayed.
66
67       -r   Relaxes the PPD conformance requirements  so  that  common  white‐
68            space,  control character, and formatting problems are not treated
69            as hard errors.
70
71       -v   Specifies that detailed conformance testing results should be dis‐
72            played rather than the concise PASS/FAIL/ERROR status.
73
74       -vv  Specifies that all information in the PPD file should be displayed
75            in addition to the detailed conformance testing results.
76
77       The -q, -v, and -vv options are mutually exclusive.
78

EXIT STATUS

80       cupstestppd returns zero on success and non-zero on error.   The  error
81       codes are as follows:
82
83       1    Bad command-line arguments or missing PPD filename.
84
85       2    Unable to open or read PPD file.
86
87       3    The PPD file contains format errors that cannot be skipped.
88
89       4    The PPD file does not conform to the Adobe PPD specification.
90

EXAMPLES

92       The  following command will test all PPD files under the current direc‐
93       tory and print the names of each file that does not conform:
94
95           find . -name \*.ppd \! -exec cupstestppd -q '{}' \; -print
96
97       The next command tests all PPD files under the  current  directory  and
98       print  detailed  conformance  testing results for the files that do not
99       conform:
100
101           find . -name \*.ppd \! -exec cupstestppd -q '{}' \; \
102               -exec cupstestppd -v '{}' \;
103

NOTES

105       PPD files are deprecated and will no longer be supported  in  a  future
106       feature  release of CUPS.  Printers that do not support IPP can be sup‐
107       ported using applications such as ippeveprinter(1).
108

SEE ALSO

110       lpadmin(8), CUPS Online Help (http://localhost:631/help),  Adobe  Post‐
111       Script Printer Description File Format Specification, Version 4.3.
112
114       Copyright © 2021-2022 by OpenPrinting.
115
116
117
1182021-02-28                           CUPS                       cupstestppd(1)
Impressum