]>
Commit | Line | Data |
---|---|---|
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 | |
26 | cupstestppd \- 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 | |
35 | Adobe PostScript Printer Description file format specification | |
36 | version 4.3. It can also be used to list the supported options | |
37 | and available fonts in a PPD file. The results of testing and | |
38 | any other output are sent to the standard output. | |
39 | .LP | |
40 | The first form of \fIcupstestppd\fR tests one or more PPD files | |
41 | on the command-line. The second form tests the PPD file provided | |
42 | on the standard input. | |
43 | .LP | |
44 | The \fI-q\fR option specifies that no information should be displayed. | |
45 | .LP | |
46 | The \fI-r\fR option relaxes the PPD conformance requirements so | |
47 | that common whitespace, control character, and formatting | |
48 | problems are not treated as hard errors. | |
49 | .LP | |
50 | The \fI-v\fR option specifies that detailed conformance testing | |
51 | results should be displayed rather than the concise PASS/FAIL/ERROR | |
52 | status. | |
53 | .LP | |
54 | The \fI-vv\fR option specifies that all information in the PPD | |
55 | file should be displayed in addition to the detailed conformance | |
56 | testing results. | |
57 | .LP | |
58 | The \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 | |
61 | error codes are as follows: | |
62 | .TP 5 | |
63 | 1 | |
64 | .br | |
65 | Bad command-line arguments or missing PPD filename. | |
66 | .TP 5 | |
67 | 2 | |
68 | .br | |
69 | Unable to open or read PPD file. | |
70 | .TP 5 | |
71 | 3 | |
72 | .br | |
73 | The PPD file contains format errors that cannot be skipped. | |
74 | .TP 5 | |
75 | 4 | |
76 | .br | |
77 | The PPD file does not conform to the Adobe PPD specification. | |
78 | .SH EXAMPLES | |
79 | The following command will test all PPD files under the current | |
80 | directory and print the names of each file that does not | |
81 | conform: | |
82 | .nf | |
83 | ||
84 | find . -name \\*.ppd \\! -exec cupstestppd -q '{}' \\; -print | |
85 | ||
86 | .fi | |
87 | The next command tests all PPD files under the current directory | |
88 | and print detailed conformance testing results for the files | |
89 | that do not conform: | |
90 | .nf | |
91 | ||
92 | find . -name \\*.ppd \\! -exec cupstestppd -q '{}' \\; \\ | |
93 | -exec cupstestppd -v '{}' \\; | |
94 | ||
95 | .fi | |
96 | .SH SEE ALSO | |
97 | CUPS Software Administrators Manual, | |
98 | CUPS Software Programmers Manual, | |
99 | http://localhost:631/documentation.html, | |
100 | Adobe PostScript Printer Description File Format Specification, Version 4.3. | |
101 | .SH COPYRIGHT | |
102 | Copyright 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 | .\" |