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