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