source: pst/printing/cups-filters.xml@ 7312e73

12.0 12.1 kea ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 7312e73 was 912b324, checked in by Douglas R. Reno <renodr@…>, 16 months ago

Typos from rhubarbpieguy

  • Property mode set to 100644
File size: 11.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 "24bed15110499fd652d65d6baab85ca6">
11 <!ENTITY cups-filters-size "1.4 MB">
12 <!ENTITY cups-filters-buildsize "56 MB (with tests), 16 MB installed">
13 <!ENTITY cups-filters-time "0.2 SBU (Using parallelism=4; with tests)">
14]>
15
16<sect1 id="cups-filters" xreflabel="cups-filters-&cups-filters-version;">
17 <?dbhtml filename="cups-filters.html"?>
18
19
20 <title>cups-filters-&cups-filters-version;</title>
21
22 <indexterm zone="cups-filters">
23 <primary sortas="a-cups-filters">cups-filters</primary>
24 </indexterm>
25
26 <sect2 role="package">
27 <title>Introduction to CUPS Filters</title>
28
29 <para>
30 The <application>CUPS Filters</application> package contains backends,
31 filters and other software that was once part of the core
32 <application>CUPS</application> distribution but is no longer
33 maintained by Apple Inc.
34 </para>
35
36 &lfs113_checked;
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>
42 Download (HTTP): <ulink url="&cups-filters-download-http;"/>
43 </para>
44 </listitem>
45 <listitem>
46 <para>
47 Download (FTP): <ulink url="&cups-filters-download-ftp;"/>
48 </para>
49 </listitem>
50 <listitem>
51 <para>
52 Download MD5 sum: &cups-filters-md5sum;
53 </para>
54 </listitem>
55 <listitem>
56 <para>
57 Download size: &cups-filters-size;
58 </para>
59 </listitem>
60 <listitem>
61 <para>
62 Estimated disk space required: &cups-filters-buildsize;
63 </para>
64 </listitem>
65 <listitem>
66 <para>
67 Estimated build time: &cups-filters-time;
68 </para>
69 </listitem>
70 </itemizedlist>
71
72 <bridgehead renderas="sect3">CUPS Filters Dependencies</bridgehead>
73
74 <bridgehead renderas="sect4">Required</bridgehead>
75 <para role="required">
76 <xref linkend="cups"/>,
77 <xref linkend="glib2"/>,
78 <xref linkend="gs"/>,
79 <xref linkend="lcms2"/>,
80 <xref linkend="poppler"/>, and
81 <xref linkend="qpdf"/>
82 </para>
83
84 <bridgehead renderas="sect4">Recommended</bridgehead>
85 <para role="recommended">
86 <xref linkend="dejavu-fonts"/> (the build fails if they are not
87 installed, although they are only required for the tests),
88 <xref linkend="libexif"/>,
89 <xref linkend="libjpeg"/>,
90 <xref linkend="libpng"/>,
91 <xref linkend="libtiff"/>, and
92 <xref linkend="mupdf"/> (mutool)
93 </para>
94
95 <bridgehead renderas="sect4">Optional</bridgehead>
96 <para role="optional">
97 <xref linkend="avahi"/> (required to build the DNSSD backend of the
98 <command>cups-browsed</command> daemon, which is needed for operating
99 some network printers),
100 <xref linkend="openldap"/>,
101 <xref linkend="php"/> (use of this might be broken),
102 <ulink url="https://liblouis.github.io/downloads/">Liblouis (Braille)</ulink>, and
103 <ulink url="https://liblouis.github.io/downloads/">Liblouisutdml (Braille)</ulink>
104 </para>
105
106 <bridgehead renderas="sect4">Optional printer drivers (runtime)</bridgehead>
107 <para role="optional">
108 <xref role="runtime" linkend="gutenprint"/> (for supported printers),
109 or other printer drivers, such as <ulink role="runtime"
110 url="https://sourceforge.net/projects/hplip/files/hplip/">hplip</ulink>
111 </para>
112
113 <para condition="html" role="usernotes">
114 User Notes: <ulink url="&blfs-wiki;/cups-filters"/>
115 </para>
116 </sect2>
117
118 <sect2 role="installation">
119 <title>Installation of CUPS Filters</title>
120
121<!--
122 <para revision="systemd">
123 First, fix the systemd unit file to work with
124 <application>CUPS</application> 2.0 and later:
125 </para>
126
127<screen revision="systemd"><userinput>sed -i "s:cups.service:org.cups.cupsd.service:g" utils/cups-browsed.service</userinput></screen>
128-->
129
130 <para>
131 Install <application>CUPS Filters</application> by running the following
132 commands:
133 </para>
134
135<screen><userinput>CXXFLAGS="$CXXFLAGS -std=c++17" \
136./configure --prefix=/usr \
137 --sysconfdir=/etc \
138 --localstatedir=/var \
139 --without-rcdir \
140 --disable-static \
141 --disable-avahi \
142 --docdir=/usr/share/doc/cups-filters-&cups-filters-version; &amp;&amp;
143make</userinput></screen>
144
145<!-- The test suite still bombs out for me. I'll leave the instructions for it
146 here though. I didn't have the Dejavu font installed, but used one of the
147 ones installed by X.
148 Version 1.16.0: test worked for me with "make check >testlog 2>&1",
149 that is, the other way around. I have DejaVu fonts. Pierre L
150 With 1.17.2 (and DejaVu) the test output is clean, no need for a log. Ken
151
152 Tests are clean for version 1.21.0 (and version 1.21.5): - Bruce
153 # TOTAL: 6
154 # PASS: 6
155 real 0m2.504s -->
156
157 <para>
158 To test the results, issue:
159 <!--<command>make check &gt;testlog 2&gt;&amp;1</command>.-->
160 <command>make check</command>. DejaVu fonts
161 are needed for the tests.
162 </para>
163
164 <para>
165 Now, as the <systemitem class="username">root</systemitem> user:
166 </para>
167
168<screen role="root"><userinput>make install</userinput></screen>
169
170 <para revision="systemd">
171 Install the systemd unit by running the following command as the
172 <systemitem class="username">root</systemitem> user:
173 </para>
174
175<screen role="root" revision="systemd"><userinput>install -v -m644 utils/cups-browsed.service /lib/systemd/system/cups-browsed.service</userinput></screen>
176
177 </sect2>
178
179 <sect2 role="commands">
180 <title>Command Explanations</title>
181
182<!-- please comment this if no patches are currently needed -->
183<!--<para>
184 <parameter>patch -Np1 -i ../cups-filters-&cups-filters-version;-poppler71-1.patch</parameter>:
185 Conditionally apply changes for recent versions of poppler.
186 </para>
187 Poppler-0.72.0, cups-filters-1.21.5 - no longer needed.-->
188
189 <para>
190 <envar>CXXFLAGS="$CXXFLAGS -std=c++17"</envar>: This environment
191 variable is necessary to fix a problem introduced by qpdf-11.3.0.
192 </para>
193
194 <para>
195 <parameter>--disable-avahi</parameter>: This switch is needed
196 if the optional <xref linkend="avahi"/> is not installed. Remove
197 it if avahi is installed and you need network printer discovery
198 capabilities.
199 </para>
200
201 <para>
202 <parameter>--without-rcdir</parameter>: This switch disables
203 installation of the bundled bootscript which is not compatible
204 with BLFS.
205 </para>
206
207<!-- Those are hard dependencies now
208 <para>
209 <parameter>- -with-gs-path=/usr/bin/gs</parameter>: This switch
210 defines the path to the <application>GhostScript</application>
211 binary in case <xref linkend="gs"/> is not installed at build time.
212 </para>
213
214 <para>
215 <parameter>- -with-pdftops-path=/usr/bin/gs</parameter>: This switch
216 defines the path to the <application>GhostScript</application>
217 binary in case <xref linkend="gs"/> is not installed at build time.
218 </para>
219-->
220
221 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
222 href="../../xincludes/static-libraries.xml"/>
223 <!--
224 <para>
225 <option>- -enable-ijs</option>: This switch will allow the pdftoijs
226 filter, for sending PDFs to an HP InkJet Server, to be built.
227 </para>
228 -->
229
230 <para>
231 <option>--with-test-font-path=<replaceable>VALUE</replaceable></option>:
232 If you wish to run the tests, but
233 you do not have the default
234 <filename>/usr/share/fonts/dejavu/DejaVuSans.ttf</filename> use this
235 switch to specify where <filename>DejaVuSans.ttf</filename> (or perhaps
236 some other text TTF font - untested) is located.
237 </para>
238
239
240 </sect2>
241
242<!-- TODO: Write a bootscript for cups-browsed -->
243
244 <sect2 role="configuration" revision="systemd">
245 <title>Configuring CUPS Filters</title>
246
247 <sect3 id="cups-filters-init">
248 <title>Systemd Units</title>
249
250 <para>
251 To start the <command>cups-browsed</command> daemon at boot, enable
252 the previously installed systemd unit by running the following command
253 as the <systemitem class="username">root</systemitem> user:
254 </para>
255
256 <indexterm zone="cups-filters cups-filters-init">
257 <primary sortas="f-cups-browsed">cups-browsed</primary>
258 </indexterm>
259
260<screen role="root"><userinput>systemctl enable cups-browsed</userinput></screen>
261
262 </sect3>
263
264 </sect2>
265
266 <sect2 role="content">
267 <title>Contents</title>
268
269 <segmentedlist>
270 <segtitle>Installed Programs</segtitle>
271 <segtitle>Installed Libraries</segtitle>
272 <segtitle>Installed Directories</segtitle>
273
274 <seglistitem>
275 <seg>
276 cups-browsed, driverless, driverless-fax, and foomatic-rip
277 <!-- and ttfread -->
278 </seg>
279 <seg>
280 libcupsfilters.so and libfontembed.so
281 </seg>
282 <seg>
283 /usr/include/{cupsfilters,fontembed},
284 /usr/lib/cups/{backend,driver,filter},
285 /usr/share/cups/{braille,charsets},
286 /usr/share/doc/cups-filters-&cups-filters-version;, and
287 /usr/share/ppd/cupsfilters
288 </seg>
289 </seglistitem>
290 </segmentedlist>
291
292 <variablelist>
293 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
294 <?dbfo list-presentation="list"?>
295 <?dbhtml list-presentation="table"?>
296
297 <varlistentry id="cups-browsed">
298 <term><command>cups-browsed</command></term>
299 <listitem>
300 <para>
301 is a daemon for browsing the Bonjour and CUPS broadcasts of shared,
302 remote CUPS printers
303 </para>
304 <indexterm zone="cups-filters cups-browsed">
305 <primary sortas="b-cups-browsed">cups-browsed</primary>
306 </indexterm>
307 </listitem>
308 </varlistentry>
309
310 <varlistentry id="driverless">
311 <term><command>driverless</command></term>
312 <listitem>
313 <para>
314 is a PPD generator utility for driverless printing
315 </para>
316 <indexterm zone="cups-filters driverless">
317 <primary sortas="b-driverless">driverless</primary>
318 </indexterm>
319 </listitem>
320 </varlistentry>
321
322 <varlistentry id="driverless-fax">
323 <term><command>driverless-fax</command></term>
324 <listitem>
325 <para>
326 is a wrapper to <command>driverless</command> for FAX type devices
327 </para>
328 <indexterm zone="cups-filters driverless-fax">
329 <primary sortas="b-driverless-fax">driverless-fax</primary>
330 </indexterm>
331 </listitem>
332 </varlistentry>
333
334 <varlistentry id="foomatic-rip">
335 <term><command>foomatic-rip</command></term>
336 <listitem>
337 <para>
338 is a universal print filter/RIP wrapper which can be used as CUPS
339 filter or stand-alone for spooler-less, direct printing
340 </para>
341 <indexterm zone="cups-filters foomatic-rip">
342 <primary sortas="b-foomatic-rip">foomatic-rip</primary>
343 </indexterm>
344 </listitem>
345 </varlistentry>
346
347 <varlistentry id="libcupsfilters">
348 <term><filename class="libraryfile">libcupsfilters.so</filename></term>
349 <listitem>
350 <para>
351 contains <application>CUPS Filters</application> API functions
352 </para>
353 <indexterm zone="cups-filters libcupsfilters">
354 <primary sortas="c-libcupsfilters">libcupsfilters.so</primary>
355 </indexterm>
356 </listitem>
357 </varlistentry>
358
359 </variablelist>
360
361 </sect2>
362
363</sect1>
Note: See TracBrowser for help on using the repository browser.