]> git.ipfire.org Git - thirdparty/cups.git/blame_incremental - man/cupstestppd.man
Remove svn:keywords since they cause svn_load_dirs.pl to complain about every file.
[thirdparty/cups.git] / man / cupstestppd.man
... / ...
CommitLineData
1.\"
2.\" "$Id: cupstestppd.man 177 2006-06-21 00:20:03Z jlovell $"
3.\"
4.\" cupstestppd man page for the Common UNIX Printing System (CUPS).
5.\"
6.\" Copyright 1997-2006 by Easy Software Products.
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.\"
24.TH cupstestppd 1 "Common UNIX Printing System" "12 February 2006" "Easy Software Products"
25.SH NAME
26cupstestppd \- test conformance of ppd files
27.SH SYNOPSIS
28.B cupstestppd
29[ -q ] [-r] [ -v[v] ] filename.ppd[.gz] [ ... filenameN.ppd[.gz] ]
30.br
31.B cupstestppd
32[ -q ] [-r] [ -v[v] ] -
33.SH DESCRIPTION
34\fIcupstestppd\fR tests the conformance of PPD files to the
35Adobe PostScript Printer Description file format specification
36version 4.3. It can also be used to list the supported options
37and available fonts in a PPD file. The results of testing and
38any other output are sent to the standard output.
39.LP
40The first form of \fIcupstestppd\fR tests one or more PPD files
41on the command-line. The second form tests the PPD file provided
42on the standard input.
43.SH OPTIONS
44\fIcupstestppd\fR supports the following options:
45.TP 5
46-q
47.br
48Specifies that no information should be displayed.
49.TP 5
50-r
51.br
52Relaxes the PPD conformance requirements so that common
53whitespace, control character, and formatting problems are not
54treated as hard errors.
55.TP 5
56-v
57.br
58Specifies that detailed conformance testing results should be
59displayed rather than the concise PASS/FAIL/ERROR status.
60.TP 5
61-vv
62.br
63Specifies that all information in the PPD file should be
64displayed in addition to the detailed conformance testing
65results.
66.LP
67The \fI-q\fR, \fI-v\fR, and \fI-vv\fR options are mutually exclusive.
68.SH EXIT STATUS
69\fIcupstestppd\fR returns zero on success and non-zero on error. The
70error codes are as follows:
71.TP 5
721
73.br
74Bad command-line arguments or missing PPD filename.
75.TP 5
762
77.br
78Unable to open or read PPD file.
79.TP 5
803
81.br
82The PPD file contains format errors that cannot be skipped.
83.TP 5
844
85.br
86The PPD file does not conform to the Adobe PPD specification.
87.SH EXAMPLES
88The following command will test all PPD files under the current
89directory and print the names of each file that does not
90conform:
91.nf
92
93 find . -name \\*.ppd \\! -exec cupstestppd -q '{}' \\; -print
94
95.fi
96The next command tests all PPD files under the current directory
97and print detailed conformance testing results for the files
98that do not conform:
99.nf
100
101 find . -name \\*.ppd \\! -exec cupstestppd -q '{}' \\; \\
102 -exec cupstestppd -v '{}' \\;
103
104.fi
105.SH SEE ALSO
106\fIlpadmin(8)\fR,
107.br
108http://localhost:631/help
109.br
110Adobe PostScript Printer Description File Format Specification, Version 4.3.
111.SH COPYRIGHT
112Copyright 1997-2006 by Easy Software Products, All Rights Reserved.
113.\"
114.\" End of "$Id: cupstestppd.man 177 2006-06-21 00:20:03Z jlovell $".
115.\"