source: pst/printing/cups-filters.xml@ f080ae0e

systemd-13485
Last change on this file since f080ae0e was f080ae0e, checked in by Douglas R. Reno <renodr@…>, 8 years ago

Merge to trunk r17352

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@17354 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 9.9 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
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 cups-filters-download-http
8 "https://www.openprinting.org/download/cups-filters/cups-filters-&cups-filters-version;.tar.xz">
9 <!ENTITY cups-filters-download-ftp " ">
10 <!ENTITY cups-filters-md5sum "6554a92ae338cbfe40a45819d65c3738">
11 <!ENTITY cups-filters-size "1.3 MB">
12 <!ENTITY cups-filters-buildsize "40 MB (with tests)">
13 <!ENTITY cups-filters-time "0.4 SBU (with tests)">
14]>
15
16<sect1 id="cups-filters" xreflabel="cups-filters-&cups-filters-version;">
17 <?dbhtml filename="cups-filters.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>cups-filters-&cups-filters-version;</title>
25
26 <indexterm zone="cups-filters">
27 <primary sortas="a-cups-filters">cups-filters</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to CUPS Filters</title>
32
33 <para>
34 The <application>CUPS Filters</application> package contains backends,
35 filters and other software that was once part of the core
36 <application>CUPS</application> distribution but is no longer
37 maintained by Apple Inc.
38 </para>
39
40 &lfs78_checked;
41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>
46 Download (HTTP): <ulink url="&cups-filters-download-http;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download (FTP): <ulink url="&cups-filters-download-ftp;"/>
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download MD5 sum: &cups-filters-md5sum;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Download size: &cups-filters-size;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated disk space required: &cups-filters-buildsize;
67 </para>
68 </listitem>
69 <listitem>
70 <para>
71 Estimated build time: &cups-filters-time;
72 </para>
73 </listitem>
74 </itemizedlist>
75<!--
76 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
77 <itemizedlist spacing="compact">
78 <listitem>
79 <para>
80 Required patch:
81 <ulink url="&patch-root;/cups-filters-&cups-filters-version;-poppler0340-1.patch"/>
82 </para>
83 </listitem>
84 </itemizedlist>-->
85
86 <bridgehead renderas="sect3">CUPS Filters Dependencies</bridgehead>
87
88 <bridgehead renderas="sect4">Required</bridgehead>
89 <para role="required">
90 <xref linkend="avahi"/>,
91 <xref linkend="cups"/>,
92 <xref linkend="glib2"/>,
93 <xref linkend="ijs"/>,
94 <xref linkend="lcms2"/>,
95 <xref linkend="poppler"/> and
96 <xref linkend="qpdf"/>
97 </para>
98
99 <bridgehead renderas="sect4">Recommended</bridgehead>
100 <para role="recommended">
101 <xref linkend="libjpeg"/>,
102 <xref linkend="libpng"/> and
103 <xref linkend="libtiff"/>
104 </para>
105
106 <bridgehead renderas="sect4">Optional</bridgehead>
107 <para role="optional">
108 <xref linkend="openldap"/>,
109 <xref linkend="php"/> (use of this might be broken),
110 <ulink url="http://liblouis.org/">Liblouis (Braille)</ulink>, and
111 <ulink url="http://liblouis.org/">Liblouisutdml (Braille)</ulink>
112 </para>
113
114 <bridgehead renderas="sect4">Required (Runtime)</bridgehead>
115 <para role="required runtime">
116 <xref linkend="gs"/> (Needed for PostScript printers), or
117 <xref linkend="gutenprint"/> (for supported printers),
118 or other printer drivers
119 </para>
120
121 <para condition="html" role="usernotes">
122 User Notes: <ulink url="&blfs-wiki;/cups-filters"/>
123 </para>
124 </sect2>
125
126 <sect2 role="installation">
127 <title>Installation of CUPS Filters</title>
128
129 <para>
130 First, fix the systemd unit file to work with
131 <application>CUPS</application> 2.0 and later:
132 </para>
133
134<screen><userinput>sed -i "s:cups.service:org.cups.cupsd.service:g" utils/cups-browsed.service</userinput></screen>
135
136 <para>
137 Install <application>CUPS Filters</application> by running the following
138 commands:
139 </para>
140
141<screen><userinput>./configure \
142 --prefix=/usr \
143 --sysconfdir=/etc \
144 --localstatedir=/var \
145 --without-rcdir \
146 --disable-static \
147 --disable-avahi \
148 --with-gs-path=/usr/bin/gs \
149 --with-pdftops-path=/usr/bin/gs \
150 --docdir=/usr/share/doc/cups-filters-&cups-filters-version; &amp;&amp;
151make</userinput></screen>
152
153 <para>
154 To test the results, issue:
155 <command>make check 2&gt;&amp;1 &gt;testlog</command>.
156 </para>
157
158 <para>
159 Now, as the <systemitem class="username">root</systemitem> user:
160 </para>
161
162<screen role="root"><userinput>make install</userinput></screen>
163
164 <para>
165 Install the systemd unit by running the following command as the
166 <systemitem class="username">root</systemitem> user:
167 </para>
168
169<screen role="root"><userinput>install -v -m644 utils/cups-browsed.service /lib/systemd/system/cups-browsed.service</userinput></screen>
170
171 </sect2>
172
173 <sect2 role="commands">
174 <title>Command Explanations</title>
175
176 <para>
177 <parameter>--disable-avahi</parameter>: This switch is needed
178 if the optional <xref linkend="avahi"/> is not installed. Remove
179 it if avahi is installed and you need network printer discovery
180 capabilities.
181 </para>
182
183 <para>
184 <parameter>--without-rcdir</parameter>: This switch disables
185 installation of the bundled bootscript which is not compatible
186 with BLFS.
187 </para>
188
189 <para>
190 <parameter>--with-gs-path=/usr/bin/gs</parameter>: This switch
191 defines the path to the <application>GhostScript</application>
192 binary in case <xref linkend="gs"/> is not installed at build time.
193 </para>
194
195 <para>
196 <parameter>--with-pdftops-path=/usr/bin/gs</parameter>: This switch
197 defines the path to the <application>GhostScript</application>
198 binary in case <xref linkend="gs"/> is not installed at build time.
199 </para>
200
201 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
202 href="../../xincludes/static-libraries.xml"/>
203 <para>
204 <command>make check 2&gt;&amp;1 &gt;testlog</command>: the testsuite
205 dumps a stream of bytes into the input buffer after it finishes. Sending
206 the output to a file keeps the history usable, but some debug information
207 will still appear on the screen.
208 </para>
209
210 <para>
211 <option>--with-test-path=<replaceable>VALUE</replaceable></option> : if
212 you wish to run the tests, but you do not have the default
213 <filename>/usr/share/fonts/dejavu/DejaVuSans.ttf</filename> use this
214 switch to specify where <filename>DejaVuSans.ttf</filename> (or perhaps
215 some other text TTF font - untested) is located.
216 </para>
217
218 </sect2>
219
220 <sect2 role="configuration">
221 <title>Configuring Cups Filters</title>
222
223 <sect3 id="cups-filters-init">
224 <title>Systemd Units</title>
225
226 <para>
227 To start the <command>cups-browsed</command> daemon at boot, enable
228 the previously installed systemd unit by running the following command
229 as the <systemitem class="username">root</systemitem> user:
230 </para>
231
232 <indexterm zone="cups-filters cups-filters-init">
233 <primary sortas="f-cups-browsed">cups-browsed</primary>
234 </indexterm>
235
236<screen role="root"><userinput>systemctl enable cups-browsed</userinput></screen>
237
238 </sect3>
239
240 </sect2>
241
242 <sect2 role="content">
243 <title>Contents</title>
244
245 <segmentedlist>
246 <segtitle>Installed Programs</segtitle>
247 <segtitle>Installed Libraries</segtitle>
248 <segtitle>Installed Directories</segtitle>
249
250 <seglistitem>
251 <seg>
252 cups-browsed, foomatic-rip (link) and ttfread
253 </seg>
254 <seg>
255 libcupsfilters.so and libfontembed.so
256 </seg>
257 <seg>
258 /usr/include/{cupsfilters,fontembed},
259 /usr/share/cups/{braille,charsets},
260 /usr/share/doc/cups-filters-&cups-filters-version; and
261 /usr/share/ppd/cupsfilters
262 </seg>
263 </seglistitem>
264 </segmentedlist>
265
266 <variablelist>
267 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
268 <?dbfo list-presentation="list"?>
269 <?dbhtml list-presentation="table"?>
270
271 <varlistentry id="cups-browsed">
272 <term><command>cups-browsed</command></term>
273 <listitem>
274 <para>
275 is a daemon for browsing the Bonjour and CUPS broadcasts of shared,
276 remote CUPS printers.
277 </para>
278 <indexterm zone="cups-filters cups-browsed">
279 <primary sortas="b-cups-browsed">cups-browsed</primary>
280 </indexterm>
281 </listitem>
282 </varlistentry>
283
284 <varlistentry id="foomatic-rip">
285 <term><command>foomatic-rip</command></term>
286 <listitem>
287 <para>
288 is a universal print filter/RIP wrapper which can be used as CUPS
289 filter or stand-alone for spooler-less, direct printing.
290 </para>
291 <indexterm zone="cups-filters foomatic-rip">
292 <primary sortas="b-foomatic-rip">foomatic-rip</primary>
293 </indexterm>
294 </listitem>
295 </varlistentry>
296
297 <varlistentry id="libcupsfilters">
298 <term><filename class="libraryfile">libcupsfilters.so</filename></term>
299 <listitem>
300 <para>
301 contains <application>CUPS Filters</application> API functions.
302 </para>
303 <indexterm zone="cups-filters libcupsfilters">
304 <primary sortas="c-libcupsfilters">libcupsfilters.so</primary>
305 </indexterm>
306 </listitem>
307 </varlistentry>
308
309 </variablelist>
310
311 </sect2>
312
313</sect1>
Note: See TracBrowser for help on using the repository browser.