]> git.ipfire.org Git - thirdparty/cups.git/blame - man/cupstestppd.man
Merge changes from CUPS 1.5svn-r8857.
[thirdparty/cups.git] / man / cupstestppd.man
CommitLineData
ef416fc2 1.\"
75bd9771 2.\" "$Id: cupstestppd.man 7600 2008-05-20 21:06:23Z mike $"
ef416fc2 3.\"
4.\" cupstestppd man page for the Common UNIX Printing System (CUPS).
5.\"
c168a833 6.\" Copyright 2007-2009 by Apple Inc.
bd7854cb 7.\" Copyright 1997-2006 by Easy Software Products.
ef416fc2 8.\"
9.\" These coded instructions, statements, and computer programs are the
bc44d920 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/".
ef416fc2 14.\"
b226ab99 15.TH cupstestppd 1 "CUPS" "6 October 2009" "Apple Inc."
ef416fc2 16.SH NAME
17cupstestppd \- test conformance of ppd files
18.SH SYNOPSIS
19.B cupstestppd
b226ab99
MS
20[ -I
21.I category
22] [ -R
b94498cf 23.I rootdir
24] [ -W
25.I category
26] [ -q ] [-r] [ -v[v] ] filename.ppd[.gz] [ ... filenameN.ppd[.gz] ]
ef416fc2 27.br
28.B cupstestppd
b94498cf 29[ -R
30.I rootdir
31] [ -W
32.I category
33] [ -q ] [-r] [ -v[v] ] -
ef416fc2 34.SH DESCRIPTION
35\fIcupstestppd\fR tests the conformance of PPD files to the
36Adobe PostScript Printer Description file format specification
37version 4.3. It can also be used to list the supported options
38and available fonts in a PPD file. The results of testing and
39any other output are sent to the standard output.
40.LP
41The first form of \fIcupstestppd\fR tests one or more PPD files
42on the command-line. The second form tests the PPD file provided
43on the standard input.
bd7854cb 44.SH OPTIONS
45\fIcupstestppd\fR supports the following options:
46.TP 5
b226ab99
MS
47-I filters
48.br
49Ignores all filter errors.
50.TP 5
51-I profiles
52.br
53Ignores all profile errors.
54.TP 5
b94498cf 55-R rootdir
56.br
57Specifies an alternate root directory for the filter, pre-filter,
58and other support file checks.
59.TP 5
60-W constraints
61.br
62Report all UIConstraint errors as warnings.
63.TP 5
64-W defaults
65.br
66Except for size-related options, report all default option errors as warnings.
67.TP 5
68-W filters
69.br
70Report all filter errors as warnings.
71.TP 5
a603edef
MS
72-W profiles
73.br
74Report all profile errors as warnings.
75.TP 5
1340db2d
MS
76-W sizes
77.br
78Report all media size errors as warnings.
79.TP 5
b94498cf 80-W translations
81.br
82Report all translation errors as warnings.
83.TP 5
84-W all
85.br
86Report all of the previous errors as warnings.
87.TP 5
88-W none
89.br
90Report all of the previous errors as errors.
91.TP 5
bd7854cb 92-q
93.br
94Specifies that no information should be displayed.
95.TP 5
96-r
97.br
98Relaxes the PPD conformance requirements so that common
99whitespace, control character, and formatting problems are not
100treated as hard errors.
101.TP 5
102-v
103.br
104Specifies that detailed conformance testing results should be
105displayed rather than the concise PASS/FAIL/ERROR status.
106.TP 5
107-vv
108.br
109Specifies that all information in the PPD file should be
110displayed in addition to the detailed conformance testing
111results.
ef416fc2 112.LP
113The \fI-q\fR, \fI-v\fR, and \fI-vv\fR options are mutually exclusive.
114.SH EXIT STATUS
115\fIcupstestppd\fR returns zero on success and non-zero on error. The
116error codes are as follows:
117.TP 5
1181
119.br
120Bad command-line arguments or missing PPD filename.
121.TP 5
1222
123.br
124Unable to open or read PPD file.
125.TP 5
1263
127.br
128The PPD file contains format errors that cannot be skipped.
129.TP 5
1304
131.br
132The PPD file does not conform to the Adobe PPD specification.
133.SH EXAMPLES
134The following command will test all PPD files under the current
135directory and print the names of each file that does not
136conform:
137.nf
138
139 find . -name \\*.ppd \\! -exec cupstestppd -q '{}' \\; -print
140
141.fi
142The next command tests all PPD files under the current directory
143and print detailed conformance testing results for the files
144that do not conform:
145.nf
146
147 find . -name \\*.ppd \\! -exec cupstestppd -q '{}' \\; \\
148 -exec cupstestppd -v '{}' \\;
149
150.fi
151.SH SEE ALSO
bd7854cb 152\fIlpadmin(8)\fR,
153.br
154http://localhost:631/help
155.br
ef416fc2 156Adobe PostScript Printer Description File Format Specification, Version 4.3.
157.SH COPYRIGHT
c168a833 158Copyright 2007-2009 by Apple Inc.
ef416fc2 159.\"
75bd9771 160.\" End of "$Id: cupstestppd.man 7600 2008-05-20 21:06:23Z mike $".
ef416fc2 161.\"