source: pst/printing/gutenprint.xml@ 04a753cb

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 04a753cb was 04a753cb, checked in by Ken Moffat <ken@…>, 12 years ago

Fix typo in sed, thanks to Fernando.

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

  • Property mode set to 100644
File size: 9.4 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 gutenprint-download-http "&sourceforge-repo;/gimp-print/gutenprint-&gutenprint-version;.tar.bz2">
8 <!ENTITY gutenprint-download-ftp " ">
9 <!ENTITY gutenprint-md5sum "b19029972bf28f6efd693270daf8f5de">
10 <!ENTITY gutenprint-size "5.3 MB">
11 <!ENTITY gutenprint-buildsize "65 MB">
12 <!ENTITY gutenprint-time "0.5 SBU">
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.linuxprinting.org/foomatic.html">Foomatic</ulink>,
37 <xref linkend="LPRng"/>, <command>lpr</command> 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 &lfs71_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"><xref linkend="cups"/>, and
72 <xref linkend="gimp"/></para>
73
74 <bridgehead renderas="sect4">Optional</bridgehead>
75 <para role="optional">
76 <ulink url="http://www.linuxprinting.org/foomatic.html">Foomatic</ulink>,
77 <ulink url="http://www.linuxprinting.org/ijs/">IJS</ulink></para>
78 <!-- gtk2 is a dep of the gimp <xref linkend="gtk2"/></para>-->
79
80 <bridgehead renderas="sect4">Optional (to Regenerate Documentation)</bridgehead>
81 <para role="optional"><xref linkend="imagemagick"/>,
82 <!--<xref linkend="tetex"/> or--> <xref linkend="texlive"/>,
83 <xref linkend="doxygen"/>, and
84 <xref linkend="docbook-utils"/></para>
85
86 <para condition="html" role="usernotes">User Notes:
87 <ulink url="&blfs-wiki;/gutenprint"/></para>
88
89 </sect2>
90
91 <sect2 role="installation">
92 <title>Installation of Gutenprint</title>
93
94 <para>Install <application>Gutenprint</application> by running the
95 following commands:</para>
96
97<!-- already fixed upstream, will not be required in 5.2.8 -->
98<screen><userinput>sed -i '/#include &lt;ctype.h&gt;/a\#include &lt;stdio.h&gt;' \
99 src/cups/commandtocanon.c src/cups/commandtoepson.c &amp;&amp;
100sed -i 's|$(PACKAGE)/doc|doc/$(PACKAGE)-$(VERSION)|' \
101 {,doc/,doc/developer/}Makefile.in &amp;&amp;
102./configure --prefix=/usr --disable-static &amp;&amp;
103make</userinput></screen>
104
105 <!-- this is supposed to discourage you from running the tests if you upgrade
106 the package - I suppose you could sed the tests/Makefile to only run 'curve',
107 and perhaps 'run-testdither', it's 'run-weavetest' which takes most of the time -->
108 <para>To test the results, issue: <command>make check</command>. When last
109 tested (version 5.2.7, LFS-7.1, on a uniprocessor box which is admittedly short of
110 memory) this took more than 800 SBUs (more than two days for that box) and used an
111 extra 678 MB of disk space.</para>
112
113 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
114
115<screen role="root"><userinput>make install &amp;&amp;
116install -v -m755 -d /usr/share/doc/gutenprint-&gutenprint-version;/api/gutenprint{,ui2} &amp;&amp;
117install -v -m644 doc/gutenprint/html/* \
118 /usr/share/doc/gutenprint-&gutenprint-version;/api/gutenprint &amp;&amp;
119install -v -m644 doc/gutenprintui2/html/* \
120 /usr/share/doc/gutenprint-&gutenprint-version;/api/gutenprintui2</userinput></screen>
121
122 </sect2>
123
124 <sect2 role="commands">
125 <title>Command Explanations</title>
126
127 <para><command>sed -i '/#include &lt;ctype.h&gt;/a\#include &lt;stdio.h&gt;' ...</command>:
128 the include files from the current version of <application>cups</application> no
129 longer include <filename>stdio.h</filename> when compiling this version of
130 <application>gutenprint</application> on linux, causing the build to fail.</para>
131
132 <para><command>sed -i '...' ...Makefile.in</command>: This
133 command is used so that the package documentation is installed in the
134 conventional <filename class='directory'>/usr/share/doc</filename>
135 directory structure instead of
136 <filename class='directory'>/usr/share/gutenprint/doc</filename>.</para>
137
138 <para><option>--disable-static</option>: This switch prevents the static
139 libraries being installed.</para>
140
141 <!-- redundant, only applies to cups < 1.2.0 : cups-5.0 gives a version of 1.5.0
142 FIXME - delete this on next version upgrade
143 <para><option>\-\-with-translated-ppds=no</option>: When this parameter is
144 given, only US English PPD files for <application>CUPS</application>
145 will be built. Useful if the PPD files are not yet translated into your
146 native language and you want to save some space by not installing unneeded
147 translations.</para>-->
148
149 </sect2>
150
151 <sect2 role="configuration">
152 <title>Configuring Gutenprint</title>
153
154 <sect3>
155 <title>Configuration Information</title>
156
157 <para>For <application>CUPS</application> to see newly installed print
158 drivers, it has to be restarted (as the <systemitem
159 class="username">root</systemitem> user):</para>
160
161<screen role="root"><userinput>/etc/rc.d/init.d/cups restart</userinput></screen>
162
163 <!-- <para>This command may take a long time (up to 10 minutes)
164 to complete. Don't panic while <application>CUPS</application>
165 is rescanning the list of PPD files. The long delay will happen
166 only once.</para> -->
167
168 <para>Then point your web browser to <ulink url="http://localhost:631/"/>
169 to add a new printer to <application>CUPS</application>.</para>
170
171 </sect3>
172
173 </sect2>
174
175 <sect2 role="content">
176 <title>Contents</title>
177
178 <segmentedlist>
179 <segtitle>Installed Programs</segtitle>
180 <segtitle>Installed Libraries</segtitle>
181 <segtitle>Installed Directories</segtitle>
182
183 <seglistitem>
184 <seg>cups-calibrate, cups-genppd.5.2, cups-genppdupdate, escputil,
185 ijsgutenprint.5.2 (if compiled using ijs), and
186 testpattern</seg>
187 <seg>libgutenprint.so, libgutenprintui2.so,
188 libgutenprintui2.so and optionally, various
189 <application>CUPS</application> filters and backend
190 drivers</seg>
191 <seg>/usr/include/gutenprint, /usr/lib/gutenprint,
192 /usr/share/doc/gutenprint-&gutenprint-version; and
193 /usr/share/gutenprint</seg>
194 </seglistitem>
195 </segmentedlist>
196
197 <variablelist>
198 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
199 <?dbfo list-presentation="list"?>
200 <?dbhtml list-presentation="table"?>
201
202 <varlistentry id="cups-calibrate">
203 <term><command>cups-calibrate</command></term>
204 <listitem>
205 <para>calibrates the color output of printers using the
206 <application>Gutenprint</application>,
207 <application>CUPS</application> or
208 <application>ESP Print Pro</application> drivers.</para>
209 <indexterm zone="gutenprint cups-calibrate">
210 <primary sortas="b-cups-calibrate">cups-calibrate</primary>
211 </indexterm>
212 </listitem>
213 </varlistentry>
214
215 <varlistentry id="escputil">
216 <term><command>escputil</command></term>
217 <listitem>
218 <para>is a command line utility to perform various maintenance
219 tasks on Epson Stylus inkjet printers.</para>
220 <indexterm zone="gutenprint escputil">
221 <primary sortas="b-escputil">escputil</primary>
222 </indexterm>
223 </listitem>
224 </varlistentry>
225
226 <varlistentry id="ijsgutenprint.5.2">
227 <term><command>ijsgutenprint.5.2</command></term>
228 <listitem>
229 <para>is a Ghostscript driver for HP inkjet and laserjet printers.</para>
230 <indexterm zone="gutenprint ijsgutenprint.5.2">
231 <primary sortas="b-ijsgutenprint.5.2">ijsgutenprint.5.2</primary>
232 </indexterm>
233 </listitem>
234 </varlistentry>
235
236 </variablelist>
237
238 </sect2>
239
240</sect1>
Note: See TracBrowser for help on using the repository browser.