source: pst/printing/libppd.xml

trunk
Last change on this file was e8b3f50, checked in by Douglas R. Reno <renodr@…>, 3 months ago

Tags

  • Property mode set to 100644
File size: 6.9 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY libppd-download-http
8 "https://github.com/OpenPrinting/libppd/releases/download/&libppd-version;/libppd-&libppd-version;.tar.xz">
9 <!ENTITY libppd-download-ftp " ">
10 <!ENTITY libppd-md5sum "ab889cbcdaa23689d9a425769f208da9">
11 <!ENTITY libppd-size "567 KB">
12 <!ENTITY libppd-buildsize "13 MB (with tests)">
13 <!ENTITY libppd-time "less than 0.1 SBU (Using parallelism=4; with tests)">
14]>
15
16<sect1 id="libppd" xreflabel="libppd-&libppd-version;">
17 <?dbhtml filename="libppd.html"?>
18
19
20 <title>libppd-&libppd-version;</title>
21
22 <indexterm zone="libppd">
23 <primary sortas="a-libppd">libppd</primary>
24 </indexterm>
25
26 <sect2 role="package">
27 <title>Introduction to libppd</title>
28
29 <para>
30 The <application>libppd</application> library contains
31 functions for handling legacy printers using PPD description files.
32 </para>
33
34 &lfs121_checked;
35
36 <bridgehead renderas="sect3">Package Information</bridgehead>
37 <itemizedlist spacing="compact">
38 <listitem>
39 <para>
40 Download (HTTP): <ulink url="&libppd-download-http;"/>
41 </para>
42 </listitem>
43 <listitem>
44 <para>
45 Download (FTP): <ulink url="&libppd-download-ftp;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download MD5 sum: &libppd-md5sum;
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download size: &libppd-size;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Estimated disk space required: &libppd-buildsize;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated build time: &libppd-time;
66 </para>
67 </listitem>
68 </itemizedlist>
69
70 <bridgehead renderas="sect3">libppd Dependencies</bridgehead>
71
72 <bridgehead renderas="sect4">Required</bridgehead>
73 <para role="required">
74 <xref linkend="libcupsfilters"/>
75 </para>
76
77 </sect2>
78
79 <sect2 role="installation">
80 <title>Installation of libppd</title>
81
82 <para>
83 Install <application>libppd</application> by running the
84 following commands:
85 </para>
86
87<screen><userinput>./configure --prefix=/usr \
88 --disable-static \
89 --with-cups-rundir=/run/cups \
90 --enable-ppdc-utils \
91 --docdir=/usr/share/doc/libppd-&libppd-version; &amp;&amp;
92make</userinput></screen>
93
94 <para>
95 To test the results, issue <command>make check</command>.
96 </para>
97
98 <para>
99 Now, as the <systemitem class="username">root</systemitem> user:
100 </para>
101
102<screen role="root"><userinput>make install</userinput></screen>
103
104 </sect2>
105
106 <sect2 role="commands">
107 <title>Command Explanations</title>
108
109 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
110 href="../../xincludes/static-libraries.xml"/>
111
112 <para>
113 <parameter>--with-cups-rundir=/run/cups</parameter>:
114 Defines the directory containing transient printing data. The default
115 <filename class="directory">/var/run/cups</filename> is obsolete.
116 </para>
117
118 <para>
119 <parameter>--enable-ppdc-utils</parameter>:
120 Allows building utilities to manipulate <emphasis>.ppd</emphasis> files.
121 <!-- This is not required until cups v3 is out, since those utilities
122 are also installed by cups v2. But since cups v3 should be out before
123 our next release, I put it here. Pierre -->
124 </para>
125
126 </sect2>
127
128 <sect2 role="content">
129 <title>Contents</title>
130
131 <segmentedlist>
132 <segtitle>Installed Programs</segtitle>
133 <segtitle>Installed Libraries</segtitle>
134 <segtitle>Installed Directories</segtitle>
135
136 <seglistitem>
137 <seg>
138 ppdc,
139 ppdhtml,
140 ppdi,
141 ppdmerge, and
142 ppdo
143 </seg>
144 <seg>
145 libppd.so
146 </seg>
147 <seg>
148 /usr/include/ppd,
149 /usr/share/ppdc, and
150 /usr/share/doc/libppd-&libppd-version;
151 </seg>
152 </seglistitem>
153 </segmentedlist>
154
155 <variablelist>
156 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
157 <?dbfo list-presentation="list"?>
158 <?dbhtml list-presentation="table"?>
159
160 <varlistentry id="libppd-ppdc">
161 <term><command>ppdc</command></term>
162 <listitem>
163 <para>
164 compiles PPDC source files into one or more PPD files
165 </para>
166 <indexterm zone="libppd libppd-ppdc">
167 <primary sortas="b-ppdc">ppdc</primary>
168 </indexterm>
169 </listitem>
170 </varlistentry>
171
172 <varlistentry id="libppd-ppdhtml">
173 <term><command>ppdhtml</command></term>
174 <listitem>
175 <para>
176 reads a driver information file and produces a HTML summary
177 page that lists all of the drivers in a file and the
178 supported options
179 </para>
180 <indexterm zone="libppd libppd-ppdhtml">
181 <primary sortas="b-ppdhtml">ppdhtml</primary>
182 </indexterm>
183 </listitem>
184 </varlistentry>
185
186 <varlistentry id="libppd-ppdi">
187 <term><command>ppdi</command></term>
188 <listitem>
189 <para>
190 imports one or more PPD files into a PPD compiler source file
191 </para>
192 <indexterm zone="libppd libppd-ppdi">
193 <primary sortas="b-ppdi">ppdi</primary>
194 </indexterm>
195 </listitem>
196 </varlistentry>
197
198 <varlistentry id="libppd-ppdmerge">
199 <term><command>ppdmerge</command></term>
200 <listitem>
201 <para>
202 merges two or more PPD files into a single, multi-language
203 PPD file
204 </para>
205 <indexterm zone="libppd libppd-ppdmerge">
206 <primary sortas="b-ppdmerge">ppdmerge</primary>
207 </indexterm>
208 </listitem>
209 </varlistentry>
210
211 <varlistentry id="libppd-ppdpo">
212 <term><command>ppdpo</command></term>
213 <listitem>
214 <para>
215 extracts UI strings from PPDC source files and
216 updates either a GNU gettext or Mac OS X strings
217 format message catalog source file for translation
218 </para>
219 <indexterm zone="libppd libppd-ppdpo">
220 <primary sortas="b-ppdpo">ppdpo</primary>
221 </indexterm>
222 </listitem>
223 </varlistentry>
224
225 <varlistentry id="libppd-lib">
226 <term><filename class="libraryfile">libppd.so</filename></term>
227 <listitem>
228 <para>
229 contains API functions for manipulating <emphasis>.ppd</emphasis>
230 files
231 </para>
232 <indexterm zone="libppd libppd-lib">
233 <primary sortas="c-libppd">libppd.so</primary>
234 </indexterm>
235 </listitem>
236 </varlistentry>
237
238 </variablelist>
239
240 </sect2>
241
242</sect1>
Note: See TracBrowser for help on using the repository browser.