2 .\" "$Id: cupstestppd.man 6649 2007-07-11 21:46:42Z mike $"
4 .\" cupstestppd man page for the Common UNIX Printing System (CUPS).
6 .\" Copyright 2007 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 "Common UNIX Printing System" "3 May 2007" "Apple Inc."
17 cupstestppd \- test conformance of ppd files
24 ] [ -q ] [-r] [ -v[v] ] filename.ppd[.gz] [ ... filenameN.ppd[.gz] ]
31 ] [ -q ] [-r] [ -v[v] ] -
33 \fIcupstestppd\fR tests the conformance of PPD files to the
34 Adobe PostScript Printer Description file format specification
35 version 4.3. It can also be used to list the supported options
36 and available fonts in a PPD file. The results of testing and
37 any other output are sent to the standard output.
39 The first form of \fIcupstestppd\fR tests one or more PPD files
40 on the command-line. The second form tests the PPD file provided
41 on the standard input.
43 \fIcupstestppd\fR supports the following options:
47 Specifies an alternate root directory for the filter, pre-filter,
48 and other support file checks.
52 Report all UIConstraint errors as warnings.
56 Except for size-related options, report all default option errors as warnings.
60 Report all filter errors as warnings.
64 Report all translation errors as warnings.
68 Report all of the previous errors as warnings.
72 Report all of the previous errors as errors.
76 Specifies that no information should be displayed.
80 Relaxes the PPD conformance requirements so that common
81 whitespace, control character, and formatting problems are not
82 treated as hard errors.
86 Specifies that detailed conformance testing results should be
87 displayed rather than the concise PASS/FAIL/ERROR status.
91 Specifies that all information in the PPD file should be
92 displayed in addition to the detailed conformance testing
95 The \fI-q\fR, \fI-v\fR, and \fI-vv\fR options are mutually exclusive.
97 \fIcupstestppd\fR returns zero on success and non-zero on error. The
98 error codes are as follows:
102 Bad command-line arguments or missing PPD filename.
106 Unable to open or read PPD file.
110 The PPD file contains format errors that cannot be skipped.
114 The PPD file does not conform to the Adobe PPD specification.
116 The following command will test all PPD files under the current
117 directory and print the names of each file that does not
121 find . -name \\*.ppd \\! -exec cupstestppd -q '{}' \\; -print
124 The next command tests all PPD files under the current directory
125 and print detailed conformance testing results for the files
129 find . -name \\*.ppd \\! -exec cupstestppd -q '{}' \\; \\
130 -exec cupstestppd -v '{}' \\;
136 http://localhost:631/help
138 Adobe PostScript Printer Description File Format Specification, Version 4.3.
140 Copyright 2007 by Apple Inc.
142 .\" End of "$Id: cupstestppd.man 6649 2007-07-11 21:46:42Z mike $".