source: pst/printing/cups-filters.xml@ 9a3e4ba

systemd-13485
Last change on this file since 9a3e4ba was 9a3e4ba, checked in by DJ Lucas <dj@…>, 8 years ago

Merge changes from trunk to r17005.

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

  • Property mode set to 100644
File size: 9.6 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 "a32a83aef1808e4ccabad96a593a9f89">
11 <!ENTITY cups-filters-size "1.4 MB">
12 <!ENTITY cups-filters-buildsize "50 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="cups"/>,
91 <xref linkend="glib2"/>,
92 <xref linkend="ijs"/>,
93 <xref linkend="lcms2"/>,
94 <xref linkend="poppler"/> and
95 <xref linkend="qpdf"/>
96 </para>
97
98 <bridgehead renderas="sect4">Recommended</bridgehead>
99 <para role="recommended">
100 <xref linkend="libjpeg"/>,
101 <xref linkend="libpng"/> and
102 <xref linkend="libtiff"/>
103 </para>
104
105 <bridgehead renderas="sect4">Optional</bridgehead>
106 <para role="optional">
107 <xref linkend="avahi"/>,
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 --with-gs-path=/usr/bin/gs \
148 --with-pdftops-path=/usr/bin/gs \
149 --docdir=/usr/share/doc/cups-filters-&cups-filters-version; &amp;&amp;
150make</userinput></screen>
151
152 <para>
153 To test the results, issue:
154 <command>make check 2&gt;&amp;1 &gt;testlog</command>.
155 </para>
156
157 <para>
158 Now, as the <systemitem class="username">root</systemitem> user:
159 </para>
160
161<screen role="root"><userinput>make install</userinput></screen>
162
163 <para>
164 Install the systemd unit by running the following command as the
165 <systemitem class="username">root</systemitem> user:
166 </para>
167
168<screen role="root"><userinput>install -v -m644 utils/cups-browsed.service /lib/systemd/system/cups-browsed.service</userinput></screen>
169
170 </sect2>
171
172 <sect2 role="commands">
173 <title>Command Explanations</title>
174
175 <para>
176 <parameter>--without-rcdir</parameter>: This switch disables
177 installation of the bundled bootscript which is not compatible
178 with BLFS.
179 </para>
180
181 <para>
182 <parameter>--with-gs-path=/usr/bin/gs</parameter>: This switch
183 defines the path to the <application>GhostScript</application>
184 binary in case <xref linkend="gs"/> is not installed at build time.
185 </para>
186
187 <para>
188 <parameter>--with-pdftops-path=/usr/bin/gs</parameter>: This switch
189 defines the path to the <application>GhostScript</application>
190 binary in case <xref linkend="gs"/> is not installed at build time.
191 </para>
192
193 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
194 href="../../xincludes/static-libraries.xml"/>
195 <para>
196 <command>make check 2&gt;&amp;1 &gt;testlog</command>: the testsuite
197 dumps a stream of bytes into the input buffer after it finishes. Sending
198 the output to a file keeps the history usable, but some debug information
199 will still appear on the screen.
200 </para>
201
202 <para>
203 <option>--with-test-path=<replaceable>VALUE</replaceable></option> : if
204 you wish to run the tests, but you do not have the default
205 <filename>/usr/share/fonts/dejavu/DejaVuSans.ttf</filename> use this
206 switch to specify where <filename>DejaVuSans.ttf</filename> (or perhaps
207 some other text TTF font - untested) is located.
208 </para>
209
210 </sect2>
211
212 <sect2 role="configuration">
213 <title>Configuring Cups Filters</title>
214
215 <sect3 id="cups-filters-init">
216 <title>Systemd Units</title>
217
218 <para>
219 To start the <command>cups-browsed</command> daemon at boot, enable
220 the previously installed systemd unit by running the following command
221 as the <systemitem class="username">root</systemitem> user:
222 </para>
223
224 <indexterm zone="cups-filters cups-filters-init">
225 <primary sortas="f-cups-browsed">cups-browsed</primary>
226 </indexterm>
227
228<screen role="root"><userinput>systemctl enable cups-browsed</userinput></screen>
229
230 </sect3>
231
232 </sect2>
233
234 <sect2 role="content">
235 <title>Contents</title>
236
237 <segmentedlist>
238 <segtitle>Installed Programs</segtitle>
239 <segtitle>Installed Libraries</segtitle>
240 <segtitle>Installed Directories</segtitle>
241
242 <seglistitem>
243 <seg>
244 cups-browsed, foomatic-rip (link) and ttfread
245 </seg>
246 <seg>
247 libcupsfilters.so and libfontembed.so
248 </seg>
249 <seg>
250 /usr/include/{cupsfilters,fontembed},
251 /usr/share/cups/{braille,charsets},
252 /usr/share/doc/cups-filters-&cups-filters-version; and
253 /usr/share/ppd/cupsfilters
254 </seg>
255 </seglistitem>
256 </segmentedlist>
257
258 <variablelist>
259 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
260 <?dbfo list-presentation="list"?>
261 <?dbhtml list-presentation="table"?>
262
263 <varlistentry id="cups-browsed">
264 <term><command>cups-browsed</command></term>
265 <listitem>
266 <para>
267 is a daemon for browsing the Bonjour and CUPS broadcasts of shared,
268 remote CUPS printers.
269 </para>
270 <indexterm zone="cups-filters cups-browsed">
271 <primary sortas="b-cups-browsed">cups-browsed</primary>
272 </indexterm>
273 </listitem>
274 </varlistentry>
275
276 <varlistentry id="foomatic-rip">
277 <term><command>foomatic-rip</command></term>
278 <listitem>
279 <para>
280 is a universal print filter/RIP wrapper which can be used as CUPS
281 filter or stand-alone for spooler-less, direct printing.
282 </para>
283 <indexterm zone="cups-filters foomatic-rip">
284 <primary sortas="b-foomatic-rip">foomatic-rip</primary>
285 </indexterm>
286 </listitem>
287 </varlistentry>
288
289 <varlistentry id="libcupsfilters">
290 <term><filename class="libraryfile">libcupsfilters.so</filename></term>
291 <listitem>
292 <para>
293 contains <application>CUPS Filters</application> API functions.
294 </para>
295 <indexterm zone="cups-filters libcupsfilters">
296 <primary sortas="c-libcupsfilters">libcupsfilters.so</primary>
297 </indexterm>
298 </listitem>
299 </varlistentry>
300
301 </variablelist>
302
303 </sect2>
304
305</sect1>
Note: See TracBrowser for help on using the repository browser.