]> git.ipfire.org Git - thirdparty/cups.git/blame - man/cupstestppd.man
Update more man pages.
[thirdparty/cups.git] / man / cupstestppd.man
CommitLineData
ef416fc2 1.\"
e4e5666b 2.\" "$Id$"
ef416fc2 3.\"
321d8d57 4.\" cupstestppd man page for CUPS.
ef416fc2 5.\"
0fa6c7fa 6.\" Copyright 2007-2013 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.\"
ef55b745 15.TH cupstestppd 1 "CUPS" "19 November 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
ef55b745
MS
47-I filename
48.br
49Ignores all PCFileName warnings.
50.TP 5
b226ab99
MS
51-I filters
52.br
53Ignores all filter errors.
54.TP 5
55-I profiles
56.br
57Ignores all profile errors.
58.TP 5
b94498cf 59-R rootdir
60.br
61Specifies an alternate root directory for the filter, pre-filter,
62and other support file checks.
63.TP 5
64-W constraints
65.br
66Report all UIConstraint errors as warnings.
67.TP 5
68-W defaults
69.br
70Except for size-related options, report all default option errors as warnings.
71.TP 5
72-W filters
73.br
74Report all filter errors as warnings.
75.TP 5
a603edef
MS
76-W profiles
77.br
78Report all profile errors as warnings.
79.TP 5
1340db2d
MS
80-W sizes
81.br
82Report all media size errors as warnings.
83.TP 5
b94498cf 84-W translations
85.br
86Report all translation errors as warnings.
87.TP 5
88-W all
89.br
90Report all of the previous errors as warnings.
91.TP 5
92-W none
93.br
94Report all of the previous errors as errors.
95.TP 5
bd7854cb 96-q
97.br
98Specifies that no information should be displayed.
99.TP 5
100-r
101.br
102Relaxes the PPD conformance requirements so that common
103whitespace, control character, and formatting problems are not
104treated as hard errors.
105.TP 5
106-v
107.br
108Specifies that detailed conformance testing results should be
109displayed rather than the concise PASS/FAIL/ERROR status.
110.TP 5
111-vv
112.br
113Specifies that all information in the PPD file should be
114displayed in addition to the detailed conformance testing
115results.
ef416fc2 116.LP
117The \fI-q\fR, \fI-v\fR, and \fI-vv\fR options are mutually exclusive.
118.SH EXIT STATUS
119\fIcupstestppd\fR returns zero on success and non-zero on error. The
120error codes are as follows:
121.TP 5
1221
123.br
124Bad command-line arguments or missing PPD filename.
125.TP 5
1262
127.br
128Unable to open or read PPD file.
129.TP 5
1303
131.br
132The PPD file contains format errors that cannot be skipped.
133.TP 5
1344
135.br
136The PPD file does not conform to the Adobe PPD specification.
137.SH EXAMPLES
138The following command will test all PPD files under the current
139directory and print the names of each file that does not
140conform:
141.nf
142
143 find . -name \\*.ppd \\! -exec cupstestppd -q '{}' \\; -print
144
145.fi
146The next command tests all PPD files under the current directory
147and print detailed conformance testing results for the files
148that do not conform:
149.nf
150
151 find . -name \\*.ppd \\! -exec cupstestppd -q '{}' \\; \\
152 -exec cupstestppd -v '{}' \\;
153
154.fi
155.SH SEE ALSO
bd7854cb 156\fIlpadmin(8)\fR,
157.br
158http://localhost:631/help
159.br
ef416fc2 160Adobe PostScript Printer Description File Format Specification, Version 4.3.
161.SH COPYRIGHT
0fa6c7fa 162Copyright 2007-2013 by Apple Inc.
ef416fc2 163.\"
e4e5666b 164.\" End of "$Id$".
ef416fc2 165.\"