2 .\" "$Id: cupstestppd.man 6509 2007-05-03 22:58:41Z mike $"
4 .\" cupstestppd man page for the Common UNIX Printing System (CUPS).
6 .\" Copyright 1997-2006 by Easy Software Products.
8 .\" These coded instructions, statements, and computer programs are the
9 .\" property of Easy Software Products and are protected by Federal
10 .\" copyright law. Distribution and use rights are outlined in the file
11 .\" "LICENSE.txt" which should have been included with this file. If this
12 .\" file is missing or damaged please contact Easy Software Products
15 .\" Attn: CUPS Licensing Information
16 .\" Easy Software Products
17 .\" 44141 Airport View Drive, Suite 204
18 .\" Hollywood, Maryland 20636 USA
20 .\" Voice: (301) 373-9600
21 .\" EMail: cups-info@cups.org
22 .\" WWW: http://www.cups.org
24 .TH cupstestppd 1 "Common UNIX Printing System" "3 May 2007" "Easy Software Products"
26 cupstestppd \- test conformance of ppd files
33 ] [ -q ] [-r] [ -v[v] ] filename.ppd[.gz] [ ... filenameN.ppd[.gz] ]
40 ] [ -q ] [-r] [ -v[v] ] -
42 \fIcupstestppd\fR tests the conformance of PPD files to the
43 Adobe PostScript Printer Description file format specification
44 version 4.3. It can also be used to list the supported options
45 and available fonts in a PPD file. The results of testing and
46 any other output are sent to the standard output.
48 The first form of \fIcupstestppd\fR tests one or more PPD files
49 on the command-line. The second form tests the PPD file provided
50 on the standard input.
52 \fIcupstestppd\fR supports the following options:
56 Specifies an alternate root directory for the filter, pre-filter,
57 and other support file checks.
61 Report all UIConstraint errors as warnings.
65 Except for size-related options, report all default option errors as warnings.
69 Report all filter errors as warnings.
73 Report all translation errors as warnings.
77 Report all of the previous errors as warnings.
81 Report all of the previous errors as errors.
85 Specifies that no information should be displayed.
89 Relaxes the PPD conformance requirements so that common
90 whitespace, control character, and formatting problems are not
91 treated as hard errors.
95 Specifies that detailed conformance testing results should be
96 displayed rather than the concise PASS/FAIL/ERROR status.
100 Specifies that all information in the PPD file should be
101 displayed in addition to the detailed conformance testing
104 The \fI-q\fR, \fI-v\fR, and \fI-vv\fR options are mutually exclusive.
106 \fIcupstestppd\fR returns zero on success and non-zero on error. The
107 error codes are as follows:
111 Bad command-line arguments or missing PPD filename.
115 Unable to open or read PPD file.
119 The PPD file contains format errors that cannot be skipped.
123 The PPD file does not conform to the Adobe PPD specification.
125 The following command will test all PPD files under the current
126 directory and print the names of each file that does not
130 find . -name \\*.ppd \\! -exec cupstestppd -q '{}' \\; -print
133 The next command tests all PPD files under the current directory
134 and print detailed conformance testing results for the files
138 find . -name \\*.ppd \\! -exec cupstestppd -q '{}' \\; \\
139 -exec cupstestppd -v '{}' \\;
145 http://localhost:631/help
147 Adobe PostScript Printer Description File Format Specification, Version 4.3.
149 Copyright 1997-2007 by Easy Software Products, All Rights Reserved.
151 .\" End of "$Id: cupstestppd.man 6509 2007-05-03 22:58:41Z mike $".