diff options
Diffstat (limited to 'doc/help/man-cupstestppd.html')
-rw-r--r-- | doc/help/man-cupstestppd.html | 234 |
1 files changed, 90 insertions, 144 deletions
diff --git a/doc/help/man-cupstestppd.html b/doc/help/man-cupstestppd.html index 21e23570f..549426da0 100644 --- a/doc/help/man-cupstestppd.html +++ b/doc/help/man-cupstestppd.html @@ -1,4 +1,4 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!DOCTYPE HTML> <html> <!-- SECTION: Man Pages --> <head> @@ -10,172 +10,118 @@ <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>[ -I -<i>category -</i>] [ -R -<i>rootdir -</i>] [ -W -<i>category -</i>] [ -q ] [-r] [ -v[v] ] filename.ppd[.gz] [ ... filenameN.ppd[.gz] ] +<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>[ -R -<i>rootdir -</i>] [ -W -<i>category -</i>] [ -q ] [-r] [ -v[v] ] - +<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> -<i>cupstestppd</i> 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 <i>cupstestppd</i> tests one or more PPD files -on the command-line. The second form tests the PPD file provided -on the standard input. +<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> -<i>cupstestppd</i> supports the following options: -<dl> -<dt>-I filename -</dt> -<dd></dd> -<dd>Ignores all PCFileName warnings. -</dd> -<dt>-I filters -</dt> -<dd></dd> -<dd>Ignores all filter errors. -</dd> -<dt>-I profiles -</dt> -<dd></dd> -<dd>Ignores all profile errors. -</dd> -<dt>-R rootdir -</dt> -<dd></dd> -<dd>Specifies an alternate root directory for the filter, pre-filter, -and other support file checks. -</dd> -<dt>-W constraints -</dt> -<dd></dd> -<dd>Report all UIConstraint errors as warnings. -</dd> -<dt>-W defaults -</dt> -<dd></dd> -<dd>Except for size-related options, report all default option errors as warnings. -</dd> -<dt>-W filters -</dt> -<dd></dd> -<dd>Report all filter errors as warnings. -</dd> -<dt>-W profiles -</dt> -<dd></dd> -<dd>Report all profile errors as warnings. -</dd> -<dt>-W sizes -</dt> -<dd></dd> -<dd>Report all media size errors as warnings. -</dd> -<dt>-W translations -</dt> -<dd></dd> -<dd>Report all translation errors as warnings. -</dd> -<dt>-W all -</dt> -<dd></dd> -<dd>Report all of the previous errors as warnings. -</dd> -<dt>-W none -</dt> -<dd></dd> -<dd>Report all of the previous errors as errors. -</dd> -<dt>-q -</dt> -<dd></dd> -<dd>Specifies that no information should be displayed. -</dd> -<dt>-r -</dt> -<dd></dd> -<dd>Relaxes the PPD conformance requirements so that common -whitespace, control character, and formatting problems are not -treated as hard errors. -</dd> -<dt>-v -</dt> -<dd></dd> -<dd>Specifies that detailed conformance testing results should be -displayed rather than the concise PASS/FAIL/ERROR status. -</dd> -<dt>-vv -</dt> -<dd></dd> -<dd>Specifies that all information in the PPD file should be -displayed in addition to the detailed conformance testing -results. -</dd> +<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> -<i>cupstestppd</i> returns zero on success and non-zero on error. The -error codes are as follows: -<dl> +<b>cupstestppd</b> returns zero on success and non-zero on error. +The error codes are as follows: +<dl class="man"> <dt>1 -</dt> -<dd></dd> -<dd>Bad command-line arguments or missing PPD filename. -</dd> +<dd style="margin-left: 5.0em">Bad command-line arguments or missing PPD filename. <dt>2 -</dt> -<dd></dd> -<dd>Unable to open or read PPD file. -</dd> +<dd style="margin-left: 5.0em">Unable to open or read PPD file. <dt>3 -</dt> -<dd></dd> -<dd>The PPD file contains format errors that cannot be skipped. -</dd> +<dd style="margin-left: 5.0em">The PPD file contains format errors that cannot be skipped. <dt>4 -</dt> -<dd></dd> -<dd>The PPD file does not conform to the Adobe PPD specification. -</dd> +<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> +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> +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'>lpadmin(8)</a>, -<br> -<a href='http://localhost:631/help'>http://localhost:631/help</a> -<br> +<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-2013 by Apple Inc. +Copyright © 2007-2014 by Apple Inc. </body> </html> |