2 .\" "$Id: cupstestppd.man 7600 2008-05-20 21:06:23Z mike $"
4 .\" cupstestppd man page for the Common UNIX Printing System (CUPS).
6 .\" Copyright 2007-2009 by Apple Inc.
7 .\" Copyright 1997-2006 by Easy Software Products.
9 .\" These coded instructions, statements, and computer programs are the
10 .\" property of Apple Inc. and are protected by Federal copyright
11 .\" law. Distribution and use rights are outlined in the file "LICENSE.txt"
12 .\" which should have been included with this file. If this file is
13 .\" file is missing or damaged, see the license at "http://www.cups.org/".
15 .TH cupstestppd 1 "CUPS" "6 October 2009" "Apple Inc."
17 cupstestppd \- test conformance of ppd files
26 ] [ -q ] [-r] [ -v[v] ] filename.ppd[.gz] [ ... filenameN.ppd[.gz] ]
33 ] [ -q ] [-r] [ -v[v] ] -
35 \fIcupstestppd\fR tests the conformance of PPD files to the
36 Adobe PostScript Printer Description file format specification
37 version 4.3. It can also be used to list the supported options
38 and available fonts in a PPD file. The results of testing and
39 any other output are sent to the standard output.
41 The first form of \fIcupstestppd\fR tests one or more PPD files
42 on the command-line. The second form tests the PPD file provided
43 on the standard input.
45 \fIcupstestppd\fR supports the following options:
49 Ignores all filter errors.
53 Ignores all profile errors.
57 Specifies an alternate root directory for the filter, pre-filter,
58 and other support file checks.
62 Report all UIConstraint errors as warnings.
66 Except for size-related options, report all default option errors as warnings.
70 Report all filter errors as warnings.
74 Report all profile errors as warnings.
78 Report all media size errors as warnings.
82 Report all translation errors as warnings.
86 Report all of the previous errors as warnings.
90 Report all of the previous errors as errors.
94 Specifies that no information should be displayed.
98 Relaxes the PPD conformance requirements so that common
99 whitespace, control character, and formatting problems are not
100 treated as hard errors.
104 Specifies that detailed conformance testing results should be
105 displayed rather than the concise PASS/FAIL/ERROR status.
109 Specifies that all information in the PPD file should be
110 displayed in addition to the detailed conformance testing
113 The \fI-q\fR, \fI-v\fR, and \fI-vv\fR options are mutually exclusive.
115 \fIcupstestppd\fR returns zero on success and non-zero on error. The
116 error codes are as follows:
120 Bad command-line arguments or missing PPD filename.
124 Unable to open or read PPD file.
128 The PPD file contains format errors that cannot be skipped.
132 The PPD file does not conform to the Adobe PPD specification.
134 The following command will test all PPD files under the current
135 directory and print the names of each file that does not
139 find . -name \\*.ppd \\! -exec cupstestppd -q '{}' \\; -print
142 The next command tests all PPD files under the current directory
143 and print detailed conformance testing results for the files
147 find . -name \\*.ppd \\! -exec cupstestppd -q '{}' \\; \\
148 -exec cupstestppd -v '{}' \\;
154 http://localhost:631/help
156 Adobe PostScript Printer Description File Format Specification, Version 4.3.
158 Copyright 2007-2009 by Apple Inc.
160 .\" End of "$Id: cupstestppd.man 7600 2008-05-20 21:06:23Z mike $".