204 lines
5.1 KiB
HTML
204 lines
5.1 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of cupstestppd</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>cupstestppd</H1>
|
|
Section: Apple Inc. (1)<BR>Updated: CUPS<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
cupstestppd - test conformance of ppd files
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>cupstestppd</B>
|
|
|
|
[
|
|
<B>-I</B>
|
|
|
|
<I>category</I>
|
|
|
|
] [
|
|
<B>-R</B>
|
|
|
|
<I>rootdir</I>
|
|
|
|
] [
|
|
<B>-W</B>
|
|
|
|
<I>category</I>
|
|
|
|
] [
|
|
<B>-q</B>
|
|
|
|
] [
|
|
<B>-r</B>
|
|
|
|
] [
|
|
<B>-v</B>[<B>v</B>]
|
|
]
|
|
<I>filename.ppd[.gz]</I>
|
|
|
|
[ ...
|
|
<I>filename.ppd[.gz]</I>
|
|
|
|
]
|
|
<BR>
|
|
|
|
<B>cupstestppd</B>
|
|
|
|
[
|
|
<B>-R</B>
|
|
|
|
<I>rootdir</I>
|
|
|
|
] [
|
|
<B>-W</B>
|
|
|
|
<I>category</I>
|
|
|
|
] [
|
|
<B>-q</B>
|
|
|
|
] [
|
|
<B>-r</B>
|
|
|
|
] [
|
|
<B>-v</B>[<B>v</B>]
|
|
]
|
|
<B>-</B>
|
|
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<B>cupstestppd</B> tests the conformance of PPD files to the Adobe PostScript Printer Description file format specification version 4.3.
|
|
It can also be used to list the supported options and available fonts in a PPD file.
|
|
The results of testing and any other output are sent to the standard output.
|
|
<P>
|
|
|
|
The first form of <B>cupstestppd</B> tests one or more PPD files on the command-line.
|
|
The second form tests the PPD file provided on the standard input.
|
|
<A NAME="lbAE"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<B>cupstestppd</B> supports the following options:
|
|
<DL COMPACT>
|
|
<DT id="1"><B>-I filename</B><DD>
|
|
Ignores all PCFileName warnings.
|
|
<DT id="2"><B>-I filters</B><DD>
|
|
Ignores all filter errors.
|
|
<DT id="3"><B>-I profiles</B><DD>
|
|
Ignores all profile errors.
|
|
<DT id="4"><B>-R </B><I>rootdir</I><DD>
|
|
Specifies an alternate root directory for the filter, pre-filter, and other support file checks.
|
|
<DT id="5"><B>-W constraints</B><DD>
|
|
Report all UIConstraint errors as warnings.
|
|
<DT id="6"><B>-W defaults</B><DD>
|
|
Except for size-related options, report all default option errors as warnings.
|
|
<DT id="7"><B>-W filters</B><DD>
|
|
Report all filter errors as warnings.
|
|
<DT id="8"><B>-W profiles</B><DD>
|
|
Report all profile errors as warnings.
|
|
<DT id="9"><B>-W sizes</B><DD>
|
|
Report all media size errors as warnings.
|
|
<DT id="10"><B>-W translations</B><DD>
|
|
Report all translation errors as warnings.
|
|
<DT id="11"><B>-W all</B><DD>
|
|
Report all of the previous errors as warnings.
|
|
<DT id="12"><B>-W none</B><DD>
|
|
Report all of the previous errors as errors.
|
|
<DT id="13"><B>-q</B>
|
|
|
|
<DD>
|
|
Specifies that no information should be displayed.
|
|
<DT id="14"><B>-r</B>
|
|
|
|
<DD>
|
|
Relaxes the PPD conformance requirements so that common whitespace, control character, and formatting problems are not treated as hard errors.
|
|
<DT id="15"><B>-v</B>
|
|
|
|
<DD>
|
|
Specifies that detailed conformance testing results should be displayed rather than the concise PASS/FAIL/ERROR status.
|
|
<DT id="16"><B>-vv</B>
|
|
|
|
<DD>
|
|
Specifies that all information in the PPD file should be displayed in addition to the detailed conformance testing results.
|
|
</DL>
|
|
<P>
|
|
|
|
The <I>-q</I>, <I>-v</I>, and <I>-vv</I> options are mutually exclusive.
|
|
<A NAME="lbAF"> </A>
|
|
<H2>EXIT STATUS</H2>
|
|
|
|
<B>cupstestppd</B> returns zero on success and non-zero on error.
|
|
The error codes are as follows:
|
|
<DL COMPACT>
|
|
<DT id="17">1<DD>
|
|
Bad command-line arguments or missing PPD filename.
|
|
<DT id="18">2<DD>
|
|
Unable to open or read PPD file.
|
|
<DT id="19">3<DD>
|
|
The PPD file contains format errors that cannot be skipped.
|
|
<DT id="20">4<DD>
|
|
The PPD file does not conform to the Adobe PPD specification.
|
|
</DL>
|
|
<A NAME="lbAG"> </A>
|
|
<H2>EXAMPLES</H2>
|
|
|
|
The following command will test all PPD files under the current directory and print the names of each file that does not conform:
|
|
<PRE>
|
|
|
|
find . -name \*.ppd \! -exec cupstestppd -q '{}' \; -print
|
|
|
|
</PRE>
|
|
|
|
The next command tests all PPD files under the current directory and print detailed conformance testing results for the files that do not conform:
|
|
<PRE>
|
|
|
|
find . -name \*.ppd \! -exec cupstestppd -q '{}' \; \
|
|
-exec cupstestppd -v '{}' \;
|
|
</PRE>
|
|
|
|
<A NAME="lbAH"> </A>
|
|
<H2>NOTES</H2>
|
|
|
|
PPD files are deprecated and will no longer be supported in a future feature release of CUPS.
|
|
Printers that do not support IPP can be supported using applications such as
|
|
<B><A HREF="/cgi-bin/man/man2html?1+ippeveprinter">ippeveprinter</A></B>(1).
|
|
|
|
<A NAME="lbAI"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?8+lpadmin">lpadmin</A></B>(8),
|
|
|
|
CUPS Online Help (<A HREF="http://localhost:631/help),">http://localhost:631/help),</A>
|
|
Adobe PostScript Printer Description File Format Specification, Version 4.3.
|
|
<A NAME="lbAJ"> </A>
|
|
<H2>COPYRIGHT</H2>
|
|
|
|
Copyright © 2007-2019 by Apple Inc.
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="21"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="22"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="23"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="24"><A HREF="#lbAE">OPTIONS</A><DD>
|
|
<DT id="25"><A HREF="#lbAF">EXIT STATUS</A><DD>
|
|
<DT id="26"><A HREF="#lbAG">EXAMPLES</A><DD>
|
|
<DT id="27"><A HREF="#lbAH">NOTES</A><DD>
|
|
<DT id="28"><A HREF="#lbAI">SEE ALSO</A><DD>
|
|
<DT id="29"><A HREF="#lbAJ">COPYRIGHT</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:09 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|