/usr/share/cups/doc-root/help/man-cupstestppd.html is in cups-server-common 2.2.7-1ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 | <!DOCTYPE HTML>
<html>
<!-- SECTION: Man Pages -->
<head>
<link rel="stylesheet" type="text/css" href="../cups-printable.css">
<title>cupstestppd(1)</title>
</head>
<body>
<h1 class="title">cupstestppd(1)</h1>
<h2 class="title"><a name="NAME">Name</a></h2>
cupstestppd - test conformance of ppd files
<h2 class="title"><a name="SYNOPSIS">Synopsis</a></h2>
<b>cupstestppd</b>
[
<b>-I</b>
<i>category</i>
] [
<b>-R</b>
<i>rootdir</i>
] [
<b>-W</b>
<i>category</i>
] [
<b>-q</b>
] [
<b>-r</b>
] [
<b>-v</b>[<b>v</b>]
]
<i>filename.ppd[.gz]</i>
[ ...
<i>filename.ppd[.gz]</i>
]
<br>
<b>cupstestppd</b>
[
<b>-R</b>
<i>rootdir</i>
] [
<b>-W</b>
<i>category</i>
] [
<b>-q</b>
] [
<b>-r</b>
] [
<b>-v</b>[<b>v</b>]
]
<b>-</b>
<h2 class="title"><a name="DESCRIPTION">Description</a></h2>
<b>cupstestppd</b> 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.
The results of testing and any other output are sent to the standard output.
<p>The first form of <b>cupstestppd</b> tests one or more PPD files on the command-line.
The second form tests the PPD file provided on the standard input.
<h2 class="title"><a name="OPTIONS">Options</a></h2>
<b>cupstestppd</b> supports the following options:
<dl class="man">
<dt><b>-I filename</b>
<dd style="margin-left: 5.0em">Ignores all PCFileName warnings.
<dt><b>-I filters</b>
<dd style="margin-left: 5.0em">Ignores all filter errors.
<dt><b>-I profiles</b>
<dd style="margin-left: 5.0em">Ignores all profile errors.
<dt><b>-R </b><i>rootdir</i>
<dd style="margin-left: 5.0em">Specifies an alternate root directory for the filter, pre-filter, and other support file checks.
<dt><b>-W constraints</b>
<dd style="margin-left: 5.0em">Report all UIConstraint errors as warnings.
<dt><b>-W defaults</b>
<dd style="margin-left: 5.0em">Except for size-related options, report all default option errors as warnings.
<dt><b>-W filters</b>
<dd style="margin-left: 5.0em">Report all filter errors as warnings.
<dt><b>-W profiles</b>
<dd style="margin-left: 5.0em">Report all profile errors as warnings.
<dt><b>-W sizes</b>
<dd style="margin-left: 5.0em">Report all media size errors as warnings.
<dt><b>-W translations</b>
<dd style="margin-left: 5.0em">Report all translation errors as warnings.
<dt><b>-W all</b>
<dd style="margin-left: 5.0em">Report all of the previous errors as warnings.
<dt><b>-W none</b>
<dd style="margin-left: 5.0em">Report all of the previous errors as errors.
<dt><b>-q</b>
<dd style="margin-left: 5.0em">Specifies that no information should be displayed.
<dt><b>-r</b>
<dd style="margin-left: 5.0em">Relaxes the PPD conformance requirements so that common whitespace, control character, and formatting problems are not treated as hard errors.
<dt><b>-v</b>
<dd style="margin-left: 5.0em">Specifies that detailed conformance testing results should be displayed rather than the concise PASS/FAIL/ERROR status.
<dt><b>-vv</b>
<dd style="margin-left: 5.0em">Specifies that all information in the PPD file should be displayed in addition to the detailed conformance testing results.
</dl>
<p>The <i>-q</i>, <i>-v</i>, and <i>-vv</i> options are mutually exclusive.
<h2 class="title"><a name="EXIT_STATUS">Exit Status</a></h2>
<b>cupstestppd</b> returns zero on success and non-zero on error.
The error codes are as follows:
<dl class="man">
<dt>1
<dd style="margin-left: 5.0em">Bad command-line arguments or missing PPD filename.
<dt>2
<dd style="margin-left: 5.0em">Unable to open or read PPD file.
<dt>3
<dd style="margin-left: 5.0em">The PPD file contains format errors that cannot be skipped.
<dt>4
<dd style="margin-left: 5.0em">The PPD file does not conform to the Adobe PPD specification.
</dl>
<h2 class="title"><a name="EXAMPLES">Examples</a></h2>
The following command will test all PPD files under the current directory and print the names of each file that does not conform:
<pre class="man">
find . -name \*.ppd \! -exec cupstestppd -q '{}' \; -print
</pre>
The next command tests all PPD files under the current directory and print detailed conformance testing results for the files that do not conform:
<pre class="man">
find . -name \*.ppd \! -exec cupstestppd -q '{}' \; \
-exec cupstestppd -v '{}' \;
</pre>
<h2 class="title"><a name="SEE_ALSO">See Also</a></h2>
<a href="man-lpadmin.html?TOPIC=Man+Pages"><b>lpadmin</b>(8),</a>
CUPS Online Help (<a href="http://localhost:631/help)">http://localhost:631/help)</a>,
Adobe PostScript Printer Description File Format Specification, Version 4.3.
<h2 class="title"><a name="COPYRIGHT">Copyright</a></h2>
Copyright © 2007-2017 by Apple Inc.
</body>
</html>
|