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