source: pst/printing/gutenprint.xml@ 6e5e4d2

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 7.10 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gimp3 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 6e5e4d2 was e54771c, checked in by Bruce Dubbs <bdubbs@…>, 8 years ago

Update to ImageMagick-7.0.1-1.
Fix/Mark several packages for gcc6.

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

  • Property mode set to 100644
File size: 11.1 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
[fce275e]7 <!ENTITY gutenprint-download-http "&sourceforge-repo;/gimp-print/gutenprint-&gutenprint-version;.tar.bz2">
[61d6f59]8 <!ENTITY gutenprint-download-ftp " ">
[9e3d18a7]9 <!ENTITY gutenprint-md5sum "fa6083535b7235fe531cd57e7345a81f">
10 <!ENTITY gutenprint-size "6.3 MB">
[15b09287]11 <!ENTITY gutenprint-buildsize "81 MB (without tests)">
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
[aa8ef3bc]35 <xref linkend="gs"/>, <xref linkend="cups"/>,
[9e3d18a7]36 <ulink url="http://www.linuxfoundation.org/collaborate/workgroups/openprinting/database/foomatic">Foomatic</ulink>,
[3f8a5e2]37 and the
[61d6f59]38 <application>GIMP-2.0</application>. See a list of supported printers at
[d7b83b27]39 <ulink url="http://gutenprint.sourceforge.net/p_Supported_Printers.php"/>.
[61d6f59]40 </para>
41
[645e6b0]42 &lfs79_checked;
[e54771c]43 &gcc6_checked;
[dfdc10b]44
[61d6f59]45 <bridgehead renderas="sect3">Package Information</bridgehead>
46 <itemizedlist spacing="compact">
47 <listitem>
48 <para>Download (HTTP): <ulink url="&gutenprint-download-http;"/></para>
49 </listitem>
50 <listitem>
51 <para>Download (FTP): <ulink url="&gutenprint-download-ftp;"/></para>
52 </listitem>
53 <listitem>
54 <para>Download MD5 sum: &gutenprint-md5sum;</para>
55 </listitem>
56 <listitem>
57 <para>Download size: &gutenprint-size;</para>
58 </listitem>
59 <listitem>
60 <para>Estimated disk space required: &gutenprint-buildsize;</para>
61 </listitem>
62 <listitem>
63 <para>Estimated build time: &gutenprint-time;</para>
64 </listitem>
65 </itemizedlist>
66
67 <bridgehead renderas="sect3">Gutenprint Dependencies</bridgehead>
68
[dfdc10b]69 <!-- recommend cups since we describe how to use it, and the gimp
70 so that we can use gutenprint's driver to print photos there -->
71 <bridgehead renderas="sect4">Recommended</bridgehead>
[60d53ec3]72 <para role="recommended">
73 <xref linkend="cups"/> and
74 <xref linkend="gimp"/>
75 </para>
[dfdc10b]76
[61d6f59]77 <bridgehead renderas="sect4">Optional</bridgehead>
[dfdc10b]78 <para role="optional">
[f3429309]79 <xref linkend="ijs"/> and
[9e3d18a7]80 <ulink url="http://www.linuxfoundation.org/collaborate/workgroups/openprinting/database/foomatic">Foomatic</ulink>
[60d53ec3]81 </para>
[61d6f59]82
83 <bridgehead renderas="sect4">Optional (to Regenerate Documentation)</bridgehead>
[60d53ec3]84 <para role="optional">
85 <xref linkend="imagemagick"/>,
86 <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>),
87 <xref linkend="doxygen"/>, and
88 <xref linkend="docbook-utils"/>
89 </para>
[61d6f59]90
91 <para condition="html" role="usernotes">User Notes:
92 <ulink url="&blfs-wiki;/gutenprint"/></para>
93
94 </sect2>
95
[ae2cb05]96 <sect2 role="kernel" id="gutenprint-escputil">
97 <title>Kernel Configuration</title>
98
99 <para>
100 If you intend to use <application>escputil</application> with a USB-connected
101 Epson Stylus printer for commands such as <command>--ink-level</command>
102 which need to access the raw device, you must enable the kernel's usblp
103 driver. Enable the following options in your kernel configuration and
104 recompile the kernel:
105 </para>
106
[38155d1]107<screen><literal>Device Drivers ---&gt;
108 [*] USB support ---&gt; [CONFIG_USB_SUPPORT]
109 &lt;*/M&gt; OHCI HCD (USB 1.1) support [CONFIG_USB_OHCI_HCD]
110 &lt;*/M&gt; UHCI HCD (most Intel and VIA) support [CONFIG_USB_UHCI_HCD]
111 &lt;*/M&gt; USB Printer support [CONFIG_USB_PRINTER]</literal></screen>
[ae2cb05]112
113 <indexterm zone="gutenprint escputil">
114 <primary sortas="d-escputil">escputil for usb printers</primary>
115 </indexterm>
116
117 </sect2>
118
[61d6f59]119 <sect2 role="installation">
120 <title>Installation of Gutenprint</title>
121
122 <para>Install <application>Gutenprint</application> by running the
123 following commands:</para>
124
[b00021d]125<screen><userinput>sed -i 's|$(PACKAGE)/doc|doc/$(PACKAGE)-$(VERSION)|' \
[2eb1a3d]126 {,doc/,doc/developer/}Makefile.in &amp;&amp;
[9e3d18a7]127
[dfdc10b]128./configure --prefix=/usr --disable-static &amp;&amp;
[9e3d18a7]129
[61d6f59]130make</userinput></screen>
131
[dfdc10b]132 <!-- this is supposed to discourage you from running the tests if you upgrade
133 the package - I suppose you could sed the tests/Makefile to only run 'curve',
134 and perhaps 'run-testdither', it's 'run-weavetest' which takes most of the time -->
[15b09287]135 <para>To test the results, issue: <command>make check</command>. The tests
136 take a very long time and use a lot of disk space but reports vary substantially.
137 When last tested (version 5.2.11, BLFS-7.8, using -j2 needed 154 SBU and 8.6 GB
138 to complete the tests.</para>
[61d6f59]139
140 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
141
142<screen role="root"><userinput>make install &amp;&amp;
143install -v -m755 -d /usr/share/doc/gutenprint-&gutenprint-version;/api/gutenprint{,ui2} &amp;&amp;
144install -v -m644 doc/gutenprint/html/* \
145 /usr/share/doc/gutenprint-&gutenprint-version;/api/gutenprint &amp;&amp;
146install -v -m644 doc/gutenprintui2/html/* \
147 /usr/share/doc/gutenprint-&gutenprint-version;/api/gutenprintui2</userinput></screen>
148
149 </sect2>
150
151 <sect2 role="commands">
152 <title>Command Explanations</title>
153
[2eb1a3d]154 <para><command>sed -i '...' ...Makefile.in</command>: This
[61d6f59]155 command is used so that the package documentation is installed in the
156 conventional <filename class='directory'>/usr/share/doc</filename>
157 directory structure instead of
158 <filename class='directory'>/usr/share/gutenprint/doc</filename>.</para>
159
[dfdc10b]160 <para><option>--disable-static</option>: This switch prevents the static
161 libraries being installed.</para>
162
163 <!-- redundant, only applies to cups < 1.2.0 : cups-5.0 gives a version of 1.5.0
[0d7900a]164 FIXME - delete this on next version upgrade
[dfdc10b]165 <para><option>\-\-with-translated-ppds=no</option>: When this parameter is
[61d6f59]166 given, only US English PPD files for <application>CUPS</application>
167 will be built. Useful if the PPD files are not yet translated into your
168 native language and you want to save some space by not installing unneeded
[dfdc10b]169 translations.</para>-->
[61d6f59]170
171 </sect2>
172
173 <sect2 role="configuration">
174 <title>Configuring Gutenprint</title>
175
176 <sect3>
177 <title>Configuration Information</title>
178
[2eb1a3d]179 <para>For <application>CUPS</application> to see newly installed print
180 drivers, it has to be restarted (as the <systemitem
[61d6f59]181 class="username">root</systemitem> user):</para>
182
183<screen role="root"><userinput>/etc/rc.d/init.d/cups restart</userinput></screen>
184
[2eb1a3d]185 <!-- <para>This command may take a long time (up to 10 minutes)
[61d6f59]186 to complete. Don't panic while <application>CUPS</application>
187 is rescanning the list of PPD files. The long delay will happen
[2eb1a3d]188 only once.</para> -->
[61d6f59]189
190 <para>Then point your web browser to <ulink url="http://localhost:631/"/>
191 to add a new printer to <application>CUPS</application>.</para>
192
193 </sect3>
194
195 </sect2>
196
197 <sect2 role="content">
198 <title>Contents</title>
199
200 <segmentedlist>
201 <segtitle>Installed Programs</segtitle>
202 <segtitle>Installed Libraries</segtitle>
203 <segtitle>Installed Directories</segtitle>
204
205 <seglistitem>
[9e3d18a7]206 <seg>
207 cups-calibrate, cups-genppd.5.2, cups-genppdupdate, escputil,
208 ijsgutenprint.5.2 (if compiled using ijs), and testpattern
209 </seg>
210 <seg>
211 libgutenprint.so, libgutenprintui2.so and optionally, various
212 <application>CUPS</application> filters and backend drivers under
213 /usr/lib/gutenprint/5.2/modules/
214 </seg>
215 <seg>
216 /usr/{include,lib,share}/gutenprint,
217 /usr/include/gutenprintui2 and
218 /usr/share/doc/gutenprint-&gutenprint-version;
219 </seg>
[61d6f59]220 </seglistitem>
221 </segmentedlist>
222
223 <variablelist>
224 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
225 <?dbfo list-presentation="list"?>
226 <?dbhtml list-presentation="table"?>
227
228 <varlistentry id="cups-calibrate">
229 <term><command>cups-calibrate</command></term>
230 <listitem>
231 <para>calibrates the color output of printers using the
232 <application>Gutenprint</application>,
233 <application>CUPS</application> or
234 <application>ESP Print Pro</application> drivers.</para>
235 <indexterm zone="gutenprint cups-calibrate">
236 <primary sortas="b-cups-calibrate">cups-calibrate</primary>
237 </indexterm>
238 </listitem>
239 </varlistentry>
240
[298fee30]241 <varlistentry id="cups-genppd.5.2">
242 <term><command>cups-genppd.5.2</command></term>
243 <listitem>
244 <para>
245 generate Gutenprint PPD files for use with CUPS.
246 </para>
247 <indexterm zone="gutenprint cups-genppd.5.2">
248 <primary sortas="b-cups-genppd.5.2">cups-genppd.5.2</primary>
249 </indexterm>
250 </listitem>
251 </varlistentry>
252
253 <varlistentry id="cups-genppdupdate">
254 <term><command>cups-genppdupdate</command></term>
255 <listitem>
256 <para>
257 regenerates the Gutenprint PPD files in use by CUPS.
258 </para>
259 <indexterm zone="gutenprint cups-genppdupdate">
260 <primary sortas="b-cups-genppdupdate">cups-genppdupdate</primary>
261 </indexterm>
262 </listitem>
263 </varlistentry>
264
[61d6f59]265 <varlistentry id="escputil">
266 <term><command>escputil</command></term>
267 <listitem>
268 <para>is a command line utility to perform various maintenance
269 tasks on Epson Stylus inkjet printers.</para>
270 <indexterm zone="gutenprint escputil">
271 <primary sortas="b-escputil">escputil</primary>
272 </indexterm>
273 </listitem>
274 </varlistentry>
275
[dfdc10b]276 <varlistentry id="ijsgutenprint.5.2">
277 <term><command>ijsgutenprint.5.2</command></term>
[61d6f59]278 <listitem>
[dfdc10b]279 <para>is a Ghostscript driver for HP inkjet and laserjet printers.</para>
280 <indexterm zone="gutenprint ijsgutenprint.5.2">
281 <primary sortas="b-ijsgutenprint.5.2">ijsgutenprint.5.2</primary>
[61d6f59]282 </indexterm>
283 </listitem>
284 </varlistentry>
285
[298fee30]286 <varlistentry id="testpattern">
287 <term><command>testpattern</command></term>
288 <listitem>
289 <para>
[f3429309]290 is a test programm to learn how to use libgutenprint.
[298fee30]291 </para>
292 <indexterm zone="gutenprint testpattern">
293 <primary sortas="b-testpattern">testpattern</primary>
294 </indexterm>
295 </listitem>
296 </varlistentry>
[f3429309]297
[298fee30]298 </variablelist>
[61d6f59]299
300 </sect2>
301
302</sect1>
Note: See TracBrowser for help on using the repository browser.