3 <!-- SECTION: Man Pages -->
5 <link rel=
"stylesheet" type=
"text/css" href=
"../cups-printable.css">
6 <title>cupstestppd(
1)
</title>
9 <h1 class=
"title">cupstestppd(
1)
</h1>
10 <h2 class=
"title"><a name=
"NAME">Name
</a></h2>
11 cupstestppd - test conformance of ppd files
12 <h2 class=
"title"><a name=
"SYNOPSIS">Synopsis
</a></h2>
20 ] [ -q ] [-r] [ -v[v] ] filename.ppd[.gz] [ ... filenameN.ppd[.gz] ]
27 ] [ -q ] [-r] [ -v[v] ] -
28 <h2 class=
"title"><a name=
"DESCRIPTION">Description
</a></h2>
29 <i>cupstestppd
</i> tests the conformance of PPD files to the
30 Adobe PostScript Printer Description file format specification
31 version
4.3. It can also be used to list the supported options
32 and available fonts in a PPD file. The results of testing and
33 any other output are sent to the standard output.
34 <p>The first form of
<i>cupstestppd
</i> tests one or more PPD files
35 on the command-line. The second form tests the PPD file provided
36 on the standard input.
37 <h2 class=
"title"><a name=
"OPTIONS">Options
</a></h2>
38 <i>cupstestppd
</i> supports the following options:
41 <dd style=
"margin-left: 5.0em"><br>
42 Ignores all PCFileName warnings.
44 <dd style=
"margin-left: 5.0em"><br>
45 Ignores all filter errors.
47 <dd style=
"margin-left: 5.0em"><br>
48 Ignores all profile errors.
50 <dd style=
"margin-left: 5.0em"><br>
51 Specifies an alternate root directory for the filter, pre-filter,
52 and other support file checks.
54 <dd style=
"margin-left: 5.0em"><br>
55 Report all UIConstraint errors as warnings.
57 <dd style=
"margin-left: 5.0em"><br>
58 Except for size-related options, report all default option errors as warnings.
60 <dd style=
"margin-left: 5.0em"><br>
61 Report all filter errors as warnings.
63 <dd style=
"margin-left: 5.0em"><br>
64 Report all profile errors as warnings.
66 <dd style=
"margin-left: 5.0em"><br>
67 Report all media size errors as warnings.
69 <dd style=
"margin-left: 5.0em"><br>
70 Report all translation errors as warnings.
72 <dd style=
"margin-left: 5.0em"><br>
73 Report all of the previous errors as warnings.
75 <dd style=
"margin-left: 5.0em"><br>
76 Report all of the previous errors as errors.
78 <dd style=
"margin-left: 5.0em"><br>
79 Specifies that no information should be displayed.
81 <dd style=
"margin-left: 5.0em"><br>
82 Relaxes the PPD conformance requirements so that common
83 whitespace, control character, and formatting problems are not
84 treated as hard errors.
86 <dd style=
"margin-left: 5.0em"><br>
87 Specifies that detailed conformance testing results should be
88 displayed rather than the concise PASS/FAIL/ERROR status.
90 <dd style=
"margin-left: 5.0em"><br>
91 Specifies that all information in the PPD file should be
92 displayed in addition to the detailed conformance testing
95 <p>The
<i>-q
</i>,
<i>-v
</i>, and
<i>-vv
</i> options are mutually exclusive.
96 <h2 class=
"title"><a name=
"EXIT_STATUS">Exit Status
</a></h2>
97 <i>cupstestppd
</i> returns zero on success and non-zero on error. The
98 error codes are as follows:
101 <dd style=
"margin-left: 5.0em"><br>
102 Bad command-line arguments or missing PPD filename.
104 <dd style=
"margin-left: 5.0em"><br>
105 Unable to open or read PPD file.
107 <dd style=
"margin-left: 5.0em"><br>
108 The PPD file contains format errors that cannot be skipped.
110 <dd style=
"margin-left: 5.0em"><br>
111 The PPD file does not conform to the Adobe PPD specification.
113 <h2 class=
"title"><a name=
"EXAMPLES">Examples
</a></h2>
114 The following command will test all PPD files under the current
115 directory and print the names of each file that does not
119 find . -name \*.ppd \! -exec cupstestppd -q '{}' \; -print
122 The next command tests all PPD files under the current directory
123 and print detailed conformance testing results for the files
127 find . -name \*.ppd \! -exec cupstestppd -q '{}' \; \
128 -exec cupstestppd -v '{}' \;
131 <h2 class=
"title"><a name=
"SEE_ALSO">See Also
</a></h2>
134 <a href=
"http://localhost:631/help">http://localhost:
631/help
</a>
136 Adobe PostScript Printer Description File Format Specification, Version
4.3.
137 <h2 class=
"title"><a name=
"COPYRIGHT">Copyright
</a></h2>
138 Copyright
2007-
2013 by Apple Inc.