source: pst/printing/gutenprint.xml@ f5cdf41

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 f5cdf41 was f5cdf41, checked in by Pierre Labastie <pieere@…>, 7 years ago

role="runtime|nodep" in pst

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19226 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>,
[f5cdf41]85 see <ulink role="nodep"
86 url="http://www.peachyphotos.com/blog/posts/201601301524-sinfonia-chc-s6145-cs2-and-ciaat-brava-21-revited/">Peachy
[6495834]87 Photos (Sinfonia)</ulink> for instructions on how to build and test this.
88 </para>
89
90 <para role="recommended">
91 For the Mitsubishi D70 family and the similar Kodak 305, <ulink
92 url="http://git.shaftnet.org/cgit/selphy_print.git/tree/lib70x">libMitsuD70ImageReProcess</ulink>,
[f5cdf41]93 see <ulink role="nodep"
94 url="http://www.peachyphotos.com/blog/posts/201610061508-mitsubishi-cp-d70-family-working/">Peachy
95 Photos (Mitsubishi CP-D70)</ulink> for instructions on how to build and
96 test this.
[60d53ec3]97 </para>
[61d6f59]98
99 <bridgehead renderas="sect4">Optional (to Regenerate Documentation)</bridgehead>
[60d53ec3]100 <para role="optional">
101 <xref linkend="imagemagick"/>,
102 <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>),
103 <xref linkend="doxygen"/>, and
104 <xref linkend="docbook-utils"/>
105 </para>
[61d6f59]106
107 <para condition="html" role="usernotes">User Notes:
108 <ulink url="&blfs-wiki;/gutenprint"/></para>
109
110 </sect2>
111
[ae2cb05]112 <sect2 role="kernel" id="gutenprint-escputil">
113 <title>Kernel Configuration</title>
114
115 <para>
116 If you intend to use <application>escputil</application> with a USB-connected
117 Epson Stylus printer for commands such as <command>--ink-level</command>
118 which need to access the raw device, you must enable the kernel's usblp
119 driver. Enable the following options in your kernel configuration and
120 recompile the kernel:
121 </para>
122
[38155d1]123<screen><literal>Device Drivers ---&gt;
124 [*] USB support ---&gt; [CONFIG_USB_SUPPORT]
125 &lt;*/M&gt; OHCI HCD (USB 1.1) support [CONFIG_USB_OHCI_HCD]
126 &lt;*/M&gt; UHCI HCD (most Intel and VIA) support [CONFIG_USB_UHCI_HCD]
127 &lt;*/M&gt; USB Printer support [CONFIG_USB_PRINTER]</literal></screen>
[ae2cb05]128
129 <indexterm zone="gutenprint escputil">
130 <primary sortas="d-escputil">escputil for usb printers</primary>
131 </indexterm>
132
133 </sect2>
134
[61d6f59]135 <sect2 role="installation">
136 <title>Installation of Gutenprint</title>
137
138 <para>Install <application>Gutenprint</application> by running the
139 following commands:</para>
140
[b00021d]141<screen><userinput>sed -i 's|$(PACKAGE)/doc|doc/$(PACKAGE)-$(VERSION)|' \
[2eb1a3d]142 {,doc/,doc/developer/}Makefile.in &amp;&amp;
[9e3d18a7]143
[dfdc10b]144./configure --prefix=/usr --disable-static &amp;&amp;
[9e3d18a7]145
[61d6f59]146make</userinput></screen>
147
[dfdc10b]148 <!-- this is supposed to discourage you from running the tests if you upgrade
[6495834]149 the package - but the tests in 5.2.12 have changed and I thought I read they
150 were more parallel -->
151 <para>To test the results, issue: <command>make check</command>. The tests
[fa30d84]152 take a very long time and use a lot of disk space. When last tested
153 (version 5.2.13 in September 2017) this needed 91 SBU and 9.5 GB
154 to complete the tests (one test, rastertogutenprint failed because the CUPS
155 ppds are for a previous version. Maybe genppds should be run before the
156 tests). Note that the tests used only one CPU.</para>
[61d6f59]157
158 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
159
160<screen role="root"><userinput>make install &amp;&amp;
161install -v -m755 -d /usr/share/doc/gutenprint-&gutenprint-version;/api/gutenprint{,ui2} &amp;&amp;
162install -v -m644 doc/gutenprint/html/* \
163 /usr/share/doc/gutenprint-&gutenprint-version;/api/gutenprint &amp;&amp;
164install -v -m644 doc/gutenprintui2/html/* \
165 /usr/share/doc/gutenprint-&gutenprint-version;/api/gutenprintui2</userinput></screen>
166
167 </sect2>
168
169 <sect2 role="commands">
170 <title>Command Explanations</title>
171
[2eb1a3d]172 <para><command>sed -i '...' ...Makefile.in</command>: This
[61d6f59]173 command is used so that the package documentation is installed in the
174 conventional <filename class='directory'>/usr/share/doc</filename>
175 directory structure instead of
176 <filename class='directory'>/usr/share/gutenprint/doc</filename>.</para>
177
[1a518e97]178 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
179 href="../../xincludes/static-libraries.xml"/>
[dfdc10b]180
181 <!-- redundant, only applies to cups < 1.2.0 : cups-5.0 gives a version of 1.5.0
[0d7900a]182 FIXME - delete this on next version upgrade
[dfdc10b]183 <para><option>\-\-with-translated-ppds=no</option>: When this parameter is
[61d6f59]184 given, only US English PPD files for <application>CUPS</application>
185 will be built. Useful if the PPD files are not yet translated into your
186 native language and you want to save some space by not installing unneeded
[dfdc10b]187 translations.</para>-->
[61d6f59]188
189 </sect2>
190
191 <sect2 role="configuration">
192 <title>Configuring Gutenprint</title>
193
194 <sect3>
195 <title>Configuration Information</title>
196
[2eb1a3d]197 <para>For <application>CUPS</application> to see newly installed print
198 drivers, it has to be restarted (as the <systemitem
[61d6f59]199 class="username">root</systemitem> user):</para>
200
[d278ced]201<screen role="root" revision="sysv"><userinput>/etc/rc.d/init.d/cups restart</userinput></screen>
202
203<screen role="root" revision="systemd"><userinput>systemctl restart org.cups.cupsd</userinput></screen>
[61d6f59]204
[2eb1a3d]205 <!-- <para>This command may take a long time (up to 10 minutes)
[61d6f59]206 to complete. Don't panic while <application>CUPS</application>
207 is rescanning the list of PPD files. The long delay will happen
[2eb1a3d]208 only once.</para> -->
[61d6f59]209
210 <para>Then point your web browser to <ulink url="http://localhost:631/"/>
211 to add a new printer to <application>CUPS</application>.</para>
212
213 </sect3>
214
215 </sect2>
216
217 <sect2 role="content">
218 <title>Contents</title>
219
220 <segmentedlist>
221 <segtitle>Installed Programs</segtitle>
222 <segtitle>Installed Libraries</segtitle>
223 <segtitle>Installed Directories</segtitle>
224
225 <seglistitem>
[9e3d18a7]226 <seg>
227 cups-calibrate, cups-genppd.5.2, cups-genppdupdate, escputil,
228 ijsgutenprint.5.2 (if compiled using ijs), and testpattern
229 </seg>
230 <seg>
231 libgutenprint.so, libgutenprintui2.so and optionally, various
232 <application>CUPS</application> filters and backend drivers under
233 /usr/lib/gutenprint/5.2/modules/
234 </seg>
235 <seg>
236 /usr/{include,lib,share}/gutenprint,
237 /usr/include/gutenprintui2 and
238 /usr/share/doc/gutenprint-&gutenprint-version;
239 </seg>
[61d6f59]240 </seglistitem>
241 </segmentedlist>
242
243 <variablelist>
244 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
245 <?dbfo list-presentation="list"?>
246 <?dbhtml list-presentation="table"?>
247
248 <varlistentry id="cups-calibrate">
249 <term><command>cups-calibrate</command></term>
250 <listitem>
251 <para>calibrates the color output of printers using the
252 <application>Gutenprint</application>,
253 <application>CUPS</application> or
254 <application>ESP Print Pro</application> drivers.</para>
255 <indexterm zone="gutenprint cups-calibrate">
256 <primary sortas="b-cups-calibrate">cups-calibrate</primary>
257 </indexterm>
258 </listitem>
259 </varlistentry>
260
[298fee30]261 <varlistentry id="cups-genppd.5.2">
262 <term><command>cups-genppd.5.2</command></term>
263 <listitem>
264 <para>
[9a363500]265 generates Gutenprint PPD files for use with CUPS.
[298fee30]266 </para>
267 <indexterm zone="gutenprint cups-genppd.5.2">
268 <primary sortas="b-cups-genppd.5.2">cups-genppd.5.2</primary>
269 </indexterm>
270 </listitem>
271 </varlistentry>
272
273 <varlistentry id="cups-genppdupdate">
274 <term><command>cups-genppdupdate</command></term>
275 <listitem>
276 <para>
277 regenerates the Gutenprint PPD files in use by CUPS.
278 </para>
279 <indexterm zone="gutenprint cups-genppdupdate">
280 <primary sortas="b-cups-genppdupdate">cups-genppdupdate</primary>
281 </indexterm>
282 </listitem>
283 </varlistentry>
284
[61d6f59]285 <varlistentry id="escputil">
286 <term><command>escputil</command></term>
287 <listitem>
288 <para>is a command line utility to perform various maintenance
289 tasks on Epson Stylus inkjet printers.</para>
290 <indexterm zone="gutenprint escputil">
291 <primary sortas="b-escputil">escputil</primary>
292 </indexterm>
293 </listitem>
294 </varlistentry>
295
[dfdc10b]296 <varlistentry id="ijsgutenprint.5.2">
297 <term><command>ijsgutenprint.5.2</command></term>
[61d6f59]298 <listitem>
[9a363500]299 <para>is a Ghostscript driver for HP InkJet and LaserJet printers.</para>
[dfdc10b]300 <indexterm zone="gutenprint ijsgutenprint.5.2">
301 <primary sortas="b-ijsgutenprint.5.2">ijsgutenprint.5.2</primary>
[61d6f59]302 </indexterm>
303 </listitem>
304 </varlistentry>
305
[298fee30]306 <varlistentry id="testpattern">
307 <term><command>testpattern</command></term>
308 <listitem>
309 <para>
[9a363500]310 is a test program to learn how to use libgutenprint.
[298fee30]311 </para>
312 <indexterm zone="gutenprint testpattern">
313 <primary sortas="b-testpattern">testpattern</primary>
314 </indexterm>
315 </listitem>
316 </varlistentry>
[f3429309]317
[298fee30]318 </variablelist>
[61d6f59]319
320 </sect2>
321
322</sect1>
Note: See TracBrowser for help on using the repository browser.