]> 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.\"
2.\" "$Id: cupstestppd.man 4493 2005-02-18 02:09:53Z mike $"
3.\"
4.\" cupstestppd man page for the Common UNIX Printing System (CUPS).
5.\"
6.\" Copyright 1997-2005 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" "1 August 2003" "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.LP
44The \fI-q\fR option specifies that no information should be displayed.
45.LP
46The \fI-r\fR option relaxes the PPD conformance requirements so
47that common whitespace, control character, and formatting
48problems are not treated as hard errors.
49.LP
50The \fI-v\fR option specifies that detailed conformance testing
51results should be displayed rather than the concise PASS/FAIL/ERROR
52status.
53.LP
54The \fI-vv\fR option specifies that all information in the PPD
55file should be displayed in addition to the detailed conformance
56testing results.
57.LP
58The \fI-q\fR, \fI-v\fR, and \fI-vv\fR options are mutually exclusive.
59.SH EXIT STATUS
60\fIcupstestppd\fR returns zero on success and non-zero on error. The
61error codes are as follows:
62.TP 5
631
64.br
65Bad command-line arguments or missing PPD filename.
66.TP 5
672
68.br
69Unable to open or read PPD file.
70.TP 5
713
72.br
73The PPD file contains format errors that cannot be skipped.
74.TP 5
754
76.br
77The PPD file does not conform to the Adobe PPD specification.
78.SH EXAMPLES
79The following command will test all PPD files under the current
80directory and print the names of each file that does not
81conform:
82.nf
83
84 find . -name \\*.ppd \\! -exec cupstestppd -q '{}' \\; -print
85
86.fi
87The next command tests all PPD files under the current directory
88and print detailed conformance testing results for the files
89that do not conform:
90.nf
91
92 find . -name \\*.ppd \\! -exec cupstestppd -q '{}' \\; \\
93 -exec cupstestppd -v '{}' \\;
94
95.fi
96.SH SEE ALSO
97CUPS Software Administrators Manual,
98CUPS Software Programmers Manual,
99http://localhost:631/documentation.html,
100Adobe PostScript Printer Description File Format Specification, Version 4.3.
101.SH COPYRIGHT
102Copyright 1993-2005 by Easy Software Products, All Rights Reserved.
103.\"
104.\" End of "$Id: cupstestppd.man 4493 2005-02-18 02:09:53Z mike $".
105.\"