man-pages/man5/ppdcfile.5.html
2021-03-31 01:06:50 +01:00

137 lines
7.2 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of ppdcfile</TITLE>
</HEAD><BODY>
<H1>ppdcfile</H1>
Section: Apple Inc. (5)<BR>Updated: CUPS<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
ppdcfile - cups ppd compiler source file format (deprecated)
<A NAME="lbAC">&nbsp;</A>
<H2>DESCRIPTION</H2>
The CUPS PPD compiler reads meta files that contain descriptions of one or more PPD files to be generated by
<B><A HREF="/cgi-bin/man/man2html?1+ppdc">ppdc</A></B>(1).
This man page provides a quick reference to the supported keywords and should be used in conjunction with the online help for CUPS.
<P>
The source file format is plain ASCII text that can be edited using your favorite text editor. Comments are supported using the C (/* ... */) and C++ (// ...) comment mechanisms.
<P>
Printer driver information can be grouped and shared using curly braces ({ ... }); PPD files are written when a close brace or end-of-file is seen and a PCFileName directive has been defined.
<P>
Directives may be placed anywhere on a line and are followed by one or more values. The following is a list of the available directives and the values they accept:
<DL COMPACT>
<DT id="1"><B>#define </B><I>name value</I><DD>
<DT id="2"><B>#elif </B>{<I>name </I>| <I>value</I>}<DD>
<DT id="3"><B>#else</B><DD>
<DT id="4"><B>#endif</B><DD>
<DT id="5"><B>#font </B><I>name encoding &quot;version&quot; charset status</I><DD>
<DT id="6"><B>#if </B>{<I>name </I>| <I>value</I>}<DD>
<DT id="7"><B>#include &lt;</B><I>filename</I><B>&gt;</B><DD>
<DT id="8"><B>#include &quot;</B><I>filename</I><B>&quot;</B><DD>
<DT id="9"><B>#media </B><I>name width length</I><DD>
<DT id="10"><B>#media &quot;</B><I>name</I><B>/</B><I>text</I><B>&quot; </B><I>width length</I><DD>
<DT id="11"><B>#po </B><I>locale </I><B>&quot;</B><I>filename</I><B>&quot;</B><DD>
<DT id="12"><B>Attribute </B><I>name </I><B>&quot;&quot; </B><I>value</I><DD>
<DT id="13"><B>Attribute </B><I>name keyword value</I><DD>
<DT id="14"><B>Attribute </B><I>name </I><B>&quot;</B><I>keyword</I><B>/</B><I>text</I><B>&quot; </B><I>value</I><DD>
<DT id="15"><B>Choice </B><I>name </I><B>&quot;</B><I>code</I><B>&quot;</B><DD>
<DT id="16"><B>Choice &quot;</B><I>name</I><B>/</B><I>text</I><B>&quot; &quot;</B><I>code</I><B>&quot;</B><DD>
<DT id="17"><B>ColorDevice </B><I>boolean-value</I><DD>
<DT id="18"><B>ColorModel </B><I>name colorspace colororder compression</I><DD>
<DT id="19"><B>ColorModel &quot;</B><I>name</I><B>/</B><I>text</I><B>&quot; </B><I>colorspace colororder compression</I><DD>
<DT id="20"><B>ColorProfile </B><I>resolution</I><B>/</B><I>mediatype gamma density matrix</I><DD>
<DT id="21"><B>Copyright &quot;</B><I>text</I>&quot;<DD>
<DT id="22"><B>CustomMedia </B><I>name width length left bottom right top </I><B>&quot;</B><I>size-code</I><B>&quot; &quot;</B><I>region-code</I><B>&quot;</B><DD>
<DT id="23"><B>CustomMedia &quot;</B><I>name</I><B>/</B><I>text</I><B>&quot; </B><I>width length left bottom right top </I><B>&quot;</B><I>size-code</I><B>&quot; &quot;</B><I>region-code</I><B>&quot;</B><DD>
<DT id="24"><B>Cutter </B><I>boolean-value</I><DD>
<DT id="25"><B>Darkness </B><I>temperature name</I><DD>
<DT id="26"><B>Darkness </B><I>temperature </I><B>&quot;</B><I>name</I><B>/</B><I>text</I><B>&quot;</B><DD>
<DT id="27"><B>DriverType </B><I>type</I><DD>
<DT id="28"><B>Duplex </B><I>type</I><DD>
<DT id="29"><B>Filter </B><I>mime-type cost program</I><DD>
<DT id="30"><B>Finishing </B><I>name</I><DD>
<DT id="31"><B>Finishing &quot;</B><I>name</I><B>/</B><I>text</I><B>&quot;</B><DD>
<DT id="32"><B>Font *</B><DD>
<DT id="33"><B>Font </B><I>name encoding </I><B>&quot;</B><I>version</I><B>&quot; </B><I>charset status</I><DD>
<DT id="34"><B>Group </B><I>name</I><DD>
<DT id="35"><B>Group &quot;</B><I>name</I><B>/</B><I>text</I><B>&quot;</B><DD>
<DT id="36"><B>HWMargins </B><I>left bottom right top</I><DD>
<DT id="37"><B>InputSlot </B><I>position name</I><DD>
<DT id="38"><B>InputSlot </B><I>position </I><B>&quot;</B><I>name</I><B>/</B><I>text</I><B>&quot;</B><DD>
<DT id="39"><B>Installable </B><I>name</I><DD>
<DT id="40"><B>Installable &quot;</B><I>name</I><B>/</B><I>text</I><B>&quot;</B><DD>
<DT id="41"><B>LocAttribute </B><I>name </I><B>&quot;</B><I>keyword</I><B>/</B><I>text</I><B>&quot; </B><I>value</I><DD>
<DT id="42"><B>ManualCopies </B><I>boolean-value</I><DD>
<DT id="43"><B>Manufacturer &quot;</B><I>name</I><B>&quot;</B><DD>
<DT id="44"><B>MaxSize </B><I>width length</I><DD>
<DT id="45"><B>MediaSize </B><I>name</I><DD>
<DT id="46"><B>MediaType </B><I>type name</I><DD>
<DT id="47"><B>MediaType </B><I>type </I><B>&quot;</B><I>name</I><B>/</B><I>text</I><B>&quot;</B><DD>
<DT id="48"><B>MinSize </B><I>width length</I><DD>
<DT id="49"><B>ModelName &quot;</B><I>name</I><B>&quot;</B><DD>
<DT id="50"><B>ModelNumber </B><I>number</I><DD>
<DT id="51"><B>Option </B><I>name type section order</I><DD>
<DT id="52"><B>Option &quot;</B><I>name</I><B>/</B><I>text</I><B>&quot; </B><I>type section order</I><DD>
<DT id="53"><B>PCFileName &quot;</B><I>filename.ppd</I><B>&quot;</B><DD>
<DT id="54"><B>Resolution </B><I>colorspace bits-per-color row-count row-feed row-step name</I><DD>
<DT id="55"><B>Resolution </B><I>colorspace bits-per-color row-count row-feed row-step </I><B>&quot;</B><I>name</I><B>/</B><I>text</I><B>&quot;</B><DD>
<DT id="56"><B>SimpleColorProfile </B><I>resolution</I><B>/</B><I>mediatype density yellow-density red-density gamma red-adjust green-adjust blue-adjust</I><DD>
<DT id="57"><B>Throughput </B><I>pages-per-minute</I><DD>
<DT id="58"><B>UIConstraints &quot;</B><I>*Option1 *Option2</I><B>&quot;</B><DD>
<DT id="59"><B>UIConstraints &quot;</B><I>*Option1 Choice1 *Option2</I><B>&quot;</B><DD>
<DT id="60"><B>UIConstraints &quot;</B><I>*Option1 *Option2 Choice2</I><B>&quot;</B><DD>
<DT id="61"><B>UIConstraints &quot;</B><I>*Option1 Choice1 *Option2 Choice2</I><B>&quot;</B><DD>
<DT id="62"><B>VariablePaperSize </B><I>boolean-value</I><DD>
<DT id="63"><B>Version </B><I>number</I><DD>
</DL>
<A NAME="lbAD">&nbsp;</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="lbAE">&nbsp;</A>
<H2>SEE ALSO</H2>
<B><A HREF="/cgi-bin/man/man2html?1+ppdc">ppdc</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+ppdhtml">ppdhtml</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+ppdi">ppdi</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+ppdmerge">ppdmerge</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+ppdpo">ppdpo</A></B>(1),
CUPS Online Help (<A HREF="http://localhost:631/help)">http://localhost:631/help)</A>
<A NAME="lbAF">&nbsp;</A>
<H2>COPYRIGHT</H2>
Copyright &#169; 2007-2019 by Apple Inc.
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="64"><A HREF="#lbAB">NAME</A><DD>
<DT id="65"><A HREF="#lbAC">DESCRIPTION</A><DD>
<DT id="66"><A HREF="#lbAD">NOTES</A><DD>
<DT id="67"><A HREF="#lbAE">SEE ALSO</A><DD>
<DT id="68"><A HREF="#lbAF">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:06:04 GMT, March 31, 2021
</BODY>
</HTML>