source: pst/printing/gutenprint.xml@ fa30d84

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since fa30d84 was fa30d84, checked in by Pierre Labastie <pieere@…>, 7 years ago

Updates:
gnutls-3.6.0
boost-1_65_0
sudo-1.8.21p1
sqlite-3.20.1
libgcrypt-1.8.1
gnupg-2.2.0
wireshark-2.4.1
libblockdev-2.12-1
gutenprint-5.2.13
udisks2-2.7.3
postgresql-9.6.5
libreoffice-5.4.1.2
poppler-0.58.0

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19182 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 12.0 KB
RevLine 
[61d6f59]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
[8dfc5c3]7 <!ENTITY gutenprint-download-http "&sourceforge-dl;/gimp-print/gutenprint-&gutenprint-version;.tar.bz2">
[61d6f59]8 <!ENTITY gutenprint-download-ftp " ">
[fa30d84]9 <!ENTITY gutenprint-md5sum "3e130661c0b0bd9a8f57a4a72be1311f">
10 <!ENTITY gutenprint-size "6.7 MB">
11 <!ENTITY gutenprint-buildsize "87 MB (without tests)">
[15b09287]12 <!ENTITY gutenprint-time "0.4 SBU (without tests)">
[61d6f59]13]>
14
15<sect1 id="gutenprint" xreflabel="Gutenprint-&gutenprint-version;">
16 <?dbhtml filename="gutenprint.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>Gutenprint-&gutenprint-version;</title>
24
25 <indexterm zone="gutenprint">
26 <primary sortas="a-Gutenprint">Gutenprint</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to Gutenprint</title>
31
32 <para>The <application>Gutenprint</application> (formerly
33 <application>Gimp-Print</application>) package contains high
34 quality drivers for many brands and models of printers for use with
[6495834]35 <xref linkend="cups"/>
[3f8a5e2]36 and the
[61d6f59]37 <application>GIMP-2.0</application>. See a list of supported printers at
[d7b83b27]38 <ulink url="http://gutenprint.sourceforge.net/p_Supported_Printers.php"/>.
[61d6f59]39 </para>
40
[c0f80c2]41 &lfs81_checked;
[dfdc10b]42
[61d6f59]43 <bridgehead renderas="sect3">Package Information</bridgehead>
44 <itemizedlist spacing="compact">
45 <listitem>
46 <para>Download (HTTP): <ulink url="&gutenprint-download-http;"/></para>
47 </listitem>
48 <listitem>
49 <para>Download (FTP): <ulink url="&gutenprint-download-ftp;"/></para>
50 </listitem>
51 <listitem>
52 <para>Download MD5 sum: &gutenprint-md5sum;</para>
53 </listitem>
54 <listitem>
55 <para>Download size: &gutenprint-size;</para>
56 </listitem>
57 <listitem>
58 <para>Estimated disk space required: &gutenprint-buildsize;</para>
59 </listitem>
60 <listitem>
61 <para>Estimated build time: &gutenprint-time;</para>
62 </listitem>
63 </itemizedlist>
64
65 <bridgehead renderas="sect3">Gutenprint Dependencies</bridgehead>
66
[dfdc10b]67 <!-- recommend cups since we describe how to use it, and the gimp
68 so that we can use gutenprint's driver to print photos there -->
69 <bridgehead renderas="sect4">Recommended</bridgehead>
[60d53ec3]70 <para role="recommended">
71 <xref linkend="cups"/> and
72 <xref linkend="gimp"/>
73 </para>
[dfdc10b]74
[6495834]75 <bridgehead renderas="sect4">Recommended (at runtime)</bridgehead>
76 <para role="recommended">
77 Two families of DyeSub photo printers each require another library at
78 runtime. Unless you have one of these devices you will not want these
79 libraries.
80 </para>
81
82 <para role="recommended">
83 For the Sinfonia S6145 and the Ciaat Brava 21, <ulink
84 url="http://git.shaftnet.org/cgit/selphy_print.git/tree/lib6145">libS6145ImageReProcess</ulink>,
85 see <ulink url="http://www.peachyphotos.com/blog/posts/201601301524-sinfonia-chc-s6145-cs2-and-ciaat-brava-21-revited/">Peachy
86 Photos (Sinfonia)</ulink> for instructions on how to build and test this.
87 </para>
88
89 <para role="recommended">
90 For the Mitsubishi D70 family and the similar Kodak 305, <ulink
91 url="http://git.shaftnet.org/cgit/selphy_print.git/tree/lib70x">libMitsuD70ImageReProcess</ulink>,
92 see <ulink url="http://www.peachyphotos.com/blog/posts/201610061508-mitsubishi-cp-d70-family-working/">Peachy
93 Photos (Mitsubishi CP-D70)</ulink> for instructions on how to build and test this.
[60d53ec3]94 </para>
[61d6f59]95
96 <bridgehead renderas="sect4">Optional (to Regenerate Documentation)</bridgehead>
[60d53ec3]97 <para role="optional">
98 <xref linkend="imagemagick"/>,
99 <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>),
100 <xref linkend="doxygen"/>, and
101 <xref linkend="docbook-utils"/>
102 </para>
[61d6f59]103
104 <para condition="html" role="usernotes">User Notes:
105 <ulink url="&blfs-wiki;/gutenprint"/></para>
106
107 </sect2>
108
[ae2cb05]109 <sect2 role="kernel" id="gutenprint-escputil">
110 <title>Kernel Configuration</title>
111
112 <para>
113 If you intend to use <application>escputil</application> with a USB-connected
114 Epson Stylus printer for commands such as <command>--ink-level</command>
115 which need to access the raw device, you must enable the kernel's usblp
116 driver. Enable the following options in your kernel configuration and
117 recompile the kernel:
118 </para>
119
[38155d1]120<screen><literal>Device Drivers ---&gt;
121 [*] USB support ---&gt; [CONFIG_USB_SUPPORT]
122 &lt;*/M&gt; OHCI HCD (USB 1.1) support [CONFIG_USB_OHCI_HCD]
123 &lt;*/M&gt; UHCI HCD (most Intel and VIA) support [CONFIG_USB_UHCI_HCD]
124 &lt;*/M&gt; USB Printer support [CONFIG_USB_PRINTER]</literal></screen>
[ae2cb05]125
126 <indexterm zone="gutenprint escputil">
127 <primary sortas="d-escputil">escputil for usb printers</primary>
128 </indexterm>
129
130 </sect2>
131
[61d6f59]132 <sect2 role="installation">
133 <title>Installation of Gutenprint</title>
134
135 <para>Install <application>Gutenprint</application> by running the
136 following commands:</para>
137
[b00021d]138<screen><userinput>sed -i 's|$(PACKAGE)/doc|doc/$(PACKAGE)-$(VERSION)|' \
[2eb1a3d]139 {,doc/,doc/developer/}Makefile.in &amp;&amp;
[9e3d18a7]140
[dfdc10b]141./configure --prefix=/usr --disable-static &amp;&amp;
[9e3d18a7]142
[61d6f59]143make</userinput></screen>
144
[dfdc10b]145 <!-- this is supposed to discourage you from running the tests if you upgrade
[6495834]146 the package - but the tests in 5.2.12 have changed and I thought I read they
147 were more parallel -->
148 <para>To test the results, issue: <command>make check</command>. The tests
[fa30d84]149 take a very long time and use a lot of disk space. When last tested
150 (version 5.2.13 in September 2017) this needed 91 SBU and 9.5 GB
151 to complete the tests (one test, rastertogutenprint failed because the CUPS
152 ppds are for a previous version. Maybe genppds should be run before the
153 tests). Note that the tests used only one CPU.</para>
[61d6f59]154
155 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
156
157<screen role="root"><userinput>make install &amp;&amp;
158install -v -m755 -d /usr/share/doc/gutenprint-&gutenprint-version;/api/gutenprint{,ui2} &amp;&amp;
159install -v -m644 doc/gutenprint/html/* \
160 /usr/share/doc/gutenprint-&gutenprint-version;/api/gutenprint &amp;&amp;
161install -v -m644 doc/gutenprintui2/html/* \
162 /usr/share/doc/gutenprint-&gutenprint-version;/api/gutenprintui2</userinput></screen>
163
164 </sect2>
165
166 <sect2 role="commands">
167 <title>Command Explanations</title>
168
[2eb1a3d]169 <para><command>sed -i '...' ...Makefile.in</command>: This
[61d6f59]170 command is used so that the package documentation is installed in the
171 conventional <filename class='directory'>/usr/share/doc</filename>
172 directory structure instead of
173 <filename class='directory'>/usr/share/gutenprint/doc</filename>.</para>
174
[1a518e97]175 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
176 href="../../xincludes/static-libraries.xml"/>
[dfdc10b]177
178 <!-- redundant, only applies to cups < 1.2.0 : cups-5.0 gives a version of 1.5.0
[0d7900a]179 FIXME - delete this on next version upgrade
[dfdc10b]180 <para><option>\-\-with-translated-ppds=no</option>: When this parameter is
[61d6f59]181 given, only US English PPD files for <application>CUPS</application>
182 will be built. Useful if the PPD files are not yet translated into your
183 native language and you want to save some space by not installing unneeded
[dfdc10b]184 translations.</para>-->
[61d6f59]185
186 </sect2>
187
188 <sect2 role="configuration">
189 <title>Configuring Gutenprint</title>
190
191 <sect3>
192 <title>Configuration Information</title>
193
[2eb1a3d]194 <para>For <application>CUPS</application> to see newly installed print
195 drivers, it has to be restarted (as the <systemitem
[61d6f59]196 class="username">root</systemitem> user):</para>
197
[d278ced]198<screen role="root" revision="sysv"><userinput>/etc/rc.d/init.d/cups restart</userinput></screen>
199
200<screen role="root" revision="systemd"><userinput>systemctl restart org.cups.cupsd</userinput></screen>
[61d6f59]201
[2eb1a3d]202 <!-- <para>This command may take a long time (up to 10 minutes)
[61d6f59]203 to complete. Don't panic while <application>CUPS</application>
204 is rescanning the list of PPD files. The long delay will happen
[2eb1a3d]205 only once.</para> -->
[61d6f59]206
207 <para>Then point your web browser to <ulink url="http://localhost:631/"/>
208 to add a new printer to <application>CUPS</application>.</para>
209
210 </sect3>
211
212 </sect2>
213
214 <sect2 role="content">
215 <title>Contents</title>
216
217 <segmentedlist>
218 <segtitle>Installed Programs</segtitle>
219 <segtitle>Installed Libraries</segtitle>
220 <segtitle>Installed Directories</segtitle>
221
222 <seglistitem>
[9e3d18a7]223 <seg>
224 cups-calibrate, cups-genppd.5.2, cups-genppdupdate, escputil,
225 ijsgutenprint.5.2 (if compiled using ijs), and testpattern
226 </seg>
227 <seg>
228 libgutenprint.so, libgutenprintui2.so and optionally, various
229 <application>CUPS</application> filters and backend drivers under
230 /usr/lib/gutenprint/5.2/modules/
231 </seg>
232 <seg>
233 /usr/{include,lib,share}/gutenprint,
234 /usr/include/gutenprintui2 and
235 /usr/share/doc/gutenprint-&gutenprint-version;
236 </seg>
[61d6f59]237 </seglistitem>
238 </segmentedlist>
239
240 <variablelist>
241 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
242 <?dbfo list-presentation="list"?>
243 <?dbhtml list-presentation="table"?>
244
245 <varlistentry id="cups-calibrate">
246 <term><command>cups-calibrate</command></term>
247 <listitem>
248 <para>calibrates the color output of printers using the
249 <application>Gutenprint</application>,
250 <application>CUPS</application> or
251 <application>ESP Print Pro</application> drivers.</para>
252 <indexterm zone="gutenprint cups-calibrate">
253 <primary sortas="b-cups-calibrate">cups-calibrate</primary>
254 </indexterm>
255 </listitem>
256 </varlistentry>
257
[298fee30]258 <varlistentry id="cups-genppd.5.2">
259 <term><command>cups-genppd.5.2</command></term>
260 <listitem>
261 <para>
[9a363500]262 generates Gutenprint PPD files for use with CUPS.
[298fee30]263 </para>
264 <indexterm zone="gutenprint cups-genppd.5.2">
265 <primary sortas="b-cups-genppd.5.2">cups-genppd.5.2</primary>
266 </indexterm>
267 </listitem>
268 </varlistentry>
269
270 <varlistentry id="cups-genppdupdate">
271 <term><command>cups-genppdupdate</command></term>
272 <listitem>
273 <para>
274 regenerates the Gutenprint PPD files in use by CUPS.
275 </para>
276 <indexterm zone="gutenprint cups-genppdupdate">
277 <primary sortas="b-cups-genppdupdate">cups-genppdupdate</primary>
278 </indexterm>
279 </listitem>
280 </varlistentry>
281
[61d6f59]282 <varlistentry id="escputil">
283 <term><command>escputil</command></term>
284 <listitem>
285 <para>is a command line utility to perform various maintenance
286 tasks on Epson Stylus inkjet printers.</para>
287 <indexterm zone="gutenprint escputil">
288 <primary sortas="b-escputil">escputil</primary>
289 </indexterm>
290 </listitem>
291 </varlistentry>
292
[dfdc10b]293 <varlistentry id="ijsgutenprint.5.2">
294 <term><command>ijsgutenprint.5.2</command></term>
[61d6f59]295 <listitem>
[9a363500]296 <para>is a Ghostscript driver for HP InkJet and LaserJet printers.</para>
[dfdc10b]297 <indexterm zone="gutenprint ijsgutenprint.5.2">
298 <primary sortas="b-ijsgutenprint.5.2">ijsgutenprint.5.2</primary>
[61d6f59]299 </indexterm>
300 </listitem>
301 </varlistentry>
302
[298fee30]303 <varlistentry id="testpattern">
304 <term><command>testpattern</command></term>
305 <listitem>
306 <para>
[9a363500]307 is a test program to learn how to use libgutenprint.
[298fee30]308 </para>
309 <indexterm zone="gutenprint testpattern">
310 <primary sortas="b-testpattern">testpattern</primary>
311 </indexterm>
312 </listitem>
313 </varlistentry>
[f3429309]314
[298fee30]315 </variablelist>
[61d6f59]316
317 </sect2>
318
319</sect1>
Note: See TracBrowser for help on using the repository browser.