[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 |
|
---|
[b65d0d9] | 7 | <!ENTITY gutenprint-download-http "&sourceforge-dl;/gimp-print/gutenprint-&gutenprint-version;.tar.xz">
|
---|
[61d6f59] | 8 | <!ENTITY gutenprint-download-ftp " ">
|
---|
[95145941] | 9 | <!ENTITY gutenprint-md5sum "dc208cfb873f13a93439185c15aa6f81">
|
---|
| 10 | <!ENTITY gutenprint-size "5.1 MB">
|
---|
| 11 | <!ENTITY gutenprint-buildsize "59 MB (without tests)">
|
---|
| 12 | <!ENTITY gutenprint-time "0.4 SBU (without tests)">
|
---|
[3f76011a] | 13 | <!-- Tests add 75 SBU and 13GB to the equation - updated info in the tests below -->
|
---|
[61d6f59] | 14 | ]>
|
---|
| 15 |
|
---|
| 16 | <sect1 id="gutenprint" xreflabel="Gutenprint-&gutenprint-version;">
|
---|
| 17 | <?dbhtml filename="gutenprint.html"?>
|
---|
| 18 |
|
---|
| 19 | <sect1info>
|
---|
| 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 |
|
---|
[fa3edfef] | 32 | <para>
|
---|
| 33 | The <application>Gutenprint</application> (formerly
|
---|
| 34 | <application>Gimp-Print</application>) package contains high
|
---|
| 35 | quality drivers for many brands and models of printers for use with
|
---|
| 36 | <xref linkend="cups"/>
|
---|
| 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"/>.
|
---|
[61d6f59] | 40 | </para>
|
---|
| 41 |
|
---|
[98fd8b9] | 42 | &lfs111_checked;
|
---|
[dfdc10b] | 43 |
|
---|
[61d6f59] | 44 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 45 | <itemizedlist spacing="compact">
|
---|
| 46 | <listitem>
|
---|
[fa3edfef] | 47 | <para>
|
---|
| 48 | Download (HTTP): <ulink url="&gutenprint-download-http;"/>
|
---|
| 49 | </para>
|
---|
[61d6f59] | 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
[fa3edfef] | 52 | <para>
|
---|
| 53 | Download (FTP): <ulink url="&gutenprint-download-ftp;"/>
|
---|
| 54 | </para>
|
---|
[61d6f59] | 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
[fa3edfef] | 57 | <para>
|
---|
| 58 | Download MD5 sum: &gutenprint-md5sum;
|
---|
| 59 | </para>
|
---|
[61d6f59] | 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
[fa3edfef] | 62 | <para>
|
---|
| 63 | Download size: &gutenprint-size;
|
---|
| 64 | </para>
|
---|
[61d6f59] | 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
[fa3edfef] | 67 | <para>
|
---|
| 68 | Estimated disk space required: &gutenprint-buildsize;
|
---|
| 69 | </para>
|
---|
[61d6f59] | 70 | </listitem>
|
---|
| 71 | <listitem>
|
---|
[fa3edfef] | 72 | <para>
|
---|
| 73 | Estimated build time: &gutenprint-time;
|
---|
| 74 | </para>
|
---|
[61d6f59] | 75 | </listitem>
|
---|
| 76 | </itemizedlist>
|
---|
| 77 |
|
---|
| 78 | <bridgehead renderas="sect3">Gutenprint Dependencies</bridgehead>
|
---|
| 79 |
|
---|
[dfdc10b] | 80 | <!-- recommend cups since we describe how to use it, and the gimp
|
---|
| 81 | so that we can use gutenprint's driver to print photos there -->
|
---|
| 82 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[60d53ec3] | 83 | <para role="recommended">
|
---|
| 84 | <xref linkend="cups"/> and
|
---|
| 85 | <xref linkend="gimp"/>
|
---|
| 86 | </para>
|
---|
[dfdc10b] | 87 |
|
---|
[6495834] | 88 | <bridgehead renderas="sect4">Recommended (at runtime)</bridgehead>
|
---|
| 89 | <para role="recommended">
|
---|
| 90 | Two families of DyeSub photo printers each require another library at
|
---|
| 91 | runtime. Unless you have one of these devices you will not want these
|
---|
| 92 | libraries.
|
---|
| 93 | </para>
|
---|
| 94 |
|
---|
| 95 | <para role="recommended">
|
---|
| 96 | For the Sinfonia S6145 and the Ciaat Brava 21, <ulink
|
---|
| 97 | url="http://git.shaftnet.org/cgit/selphy_print.git/tree/lib6145">libS6145ImageReProcess</ulink>,
|
---|
[8558044] | 98 | see <ulink role="nodep"
|
---|
[f5cdf41] | 99 | url="http://www.peachyphotos.com/blog/posts/201601301524-sinfonia-chc-s6145-cs2-and-ciaat-brava-21-revited/">Peachy
|
---|
[6495834] | 100 | Photos (Sinfonia)</ulink> for instructions on how to build and test this.
|
---|
| 101 | </para>
|
---|
| 102 |
|
---|
| 103 | <para role="recommended">
|
---|
| 104 | For the Mitsubishi D70 family and the similar Kodak 305, <ulink
|
---|
| 105 | url="http://git.shaftnet.org/cgit/selphy_print.git/tree/lib70x">libMitsuD70ImageReProcess</ulink>,
|
---|
[f5cdf41] | 106 | see <ulink role="nodep"
|
---|
| 107 | url="http://www.peachyphotos.com/blog/posts/201610061508-mitsubishi-cp-d70-family-working/">Peachy
|
---|
| 108 | Photos (Mitsubishi CP-D70)</ulink> for instructions on how to build and
|
---|
| 109 | test this.
|
---|
[60d53ec3] | 110 | </para>
|
---|
[61d6f59] | 111 |
|
---|
| 112 | <bridgehead renderas="sect4">Optional (to Regenerate Documentation)</bridgehead>
|
---|
[60d53ec3] | 113 | <para role="optional">
|
---|
| 114 | <xref linkend="imagemagick"/>,
|
---|
| 115 | <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>),
|
---|
| 116 | <xref linkend="doxygen"/>, and
|
---|
| 117 | <xref linkend="docbook-utils"/>
|
---|
| 118 | </para>
|
---|
[61d6f59] | 119 |
|
---|
| 120 | <para condition="html" role="usernotes">User Notes:
|
---|
| 121 | <ulink url="&blfs-wiki;/gutenprint"/></para>
|
---|
| 122 |
|
---|
| 123 | </sect2>
|
---|
| 124 |
|
---|
[ae2cb05] | 125 | <sect2 role="kernel" id="gutenprint-escputil">
|
---|
| 126 | <title>Kernel Configuration</title>
|
---|
| 127 |
|
---|
| 128 | <para>
|
---|
| 129 | If you intend to use <application>escputil</application> with a USB-connected
|
---|
| 130 | Epson Stylus printer for commands such as <command>--ink-level</command>
|
---|
| 131 | which need to access the raw device, you must enable the kernel's usblp
|
---|
| 132 | driver. Enable the following options in your kernel configuration and
|
---|
| 133 | recompile the kernel:
|
---|
| 134 | </para>
|
---|
| 135 |
|
---|
[38155d1] | 136 | <screen><literal>Device Drivers --->
|
---|
| 137 | [*] USB support ---> [CONFIG_USB_SUPPORT]
|
---|
| 138 | <*/M> OHCI HCD (USB 1.1) support [CONFIG_USB_OHCI_HCD]
|
---|
| 139 | <*/M> UHCI HCD (most Intel and VIA) support [CONFIG_USB_UHCI_HCD]
|
---|
| 140 | <*/M> USB Printer support [CONFIG_USB_PRINTER]</literal></screen>
|
---|
[ae2cb05] | 141 |
|
---|
| 142 | <indexterm zone="gutenprint escputil">
|
---|
| 143 | <primary sortas="d-escputil">escputil for usb printers</primary>
|
---|
| 144 | </indexterm>
|
---|
| 145 |
|
---|
| 146 | </sect2>
|
---|
| 147 |
|
---|
[61d6f59] | 148 | <sect2 role="installation">
|
---|
| 149 | <title>Installation of Gutenprint</title>
|
---|
| 150 |
|
---|
[fa3edfef] | 151 | <para>
|
---|
| 152 | Install <application>Gutenprint</application> by running the
|
---|
| 153 | following commands:
|
---|
| 154 | </para>
|
---|
[61d6f59] | 155 |
|
---|
[b00021d] | 156 | <screen><userinput>sed -i 's|$(PACKAGE)/doc|doc/$(PACKAGE)-$(VERSION)|' \
|
---|
[2eb1a3d] | 157 | {,doc/,doc/developer/}Makefile.in &&
|
---|
[9e3d18a7] | 158 |
|
---|
[dfdc10b] | 159 | ./configure --prefix=/usr --disable-static &&
|
---|
[61d6f59] | 160 | make</userinput></screen>
|
---|
| 161 |
|
---|
[dfdc10b] | 162 | <!-- this is supposed to discourage you from running the tests if you upgrade
|
---|
[6495834] | 163 | the package - but the tests in 5.2.12 have changed and I thought I read they
|
---|
| 164 | were more parallel -->
|
---|
[fa3edfef] | 165 | <para>
|
---|
| 166 | To test the results, issue: <command>make check</command>. The tests
|
---|
| 167 | take a very long time and use a lot of disk space. When last tested
|
---|
| 168 | (version 5.2.15 in June 2019) this needed 75 SBU and 13.5 GB
|
---|
| 169 | to complete the tests (one test, rastertogutenprint failed because the
|
---|
| 170 | CUPS ppds are for a previous version. Maybe genppds should be run before
|
---|
| 171 | the tests). Note that the tests used only one CPU.
|
---|
| 172 | </para>
|
---|
[61d6f59] | 173 |
|
---|
[fa3edfef] | 174 | <para>
|
---|
| 175 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 176 | </para>
|
---|
[61d6f59] | 177 |
|
---|
| 178 | <screen role="root"><userinput>make install &&
|
---|
| 179 | install -v -m755 -d /usr/share/doc/gutenprint-&gutenprint-version;/api/gutenprint{,ui2} &&
|
---|
| 180 | install -v -m644 doc/gutenprint/html/* \
|
---|
| 181 | /usr/share/doc/gutenprint-&gutenprint-version;/api/gutenprint &&
|
---|
| 182 | install -v -m644 doc/gutenprintui2/html/* \
|
---|
| 183 | /usr/share/doc/gutenprint-&gutenprint-version;/api/gutenprintui2</userinput></screen>
|
---|
| 184 |
|
---|
| 185 | </sect2>
|
---|
| 186 |
|
---|
| 187 | <sect2 role="commands">
|
---|
| 188 | <title>Command Explanations</title>
|
---|
| 189 |
|
---|
[fa3edfef] | 190 | <para>
|
---|
| 191 | <command>sed -i '...' ...Makefile.in</command>: This
|
---|
| 192 | command is used so that the package documentation is installed in the
|
---|
| 193 | conventional <filename class='directory'>/usr/share/doc</filename>
|
---|
| 194 | directory structure instead of
|
---|
| 195 | <filename class='directory'>/usr/share/gutenprint/doc</filename>.
|
---|
| 196 | </para>
|
---|
[61d6f59] | 197 |
|
---|
[1a518e97] | 198 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 199 | href="../../xincludes/static-libraries.xml"/>
|
---|
[dfdc10b] | 200 |
|
---|
[61d6f59] | 201 | </sect2>
|
---|
| 202 |
|
---|
| 203 | <sect2 role="configuration">
|
---|
| 204 | <title>Configuring Gutenprint</title>
|
---|
| 205 |
|
---|
| 206 | <sect3>
|
---|
| 207 | <title>Configuration Information</title>
|
---|
| 208 |
|
---|
[fa3edfef] | 209 | <para>
|
---|
| 210 | For <application>CUPS</application> to see newly installed print
|
---|
| 211 | drivers, it has to be restarted (as the <systemitem
|
---|
| 212 | class="username">root</systemitem> user):
|
---|
| 213 | </para>
|
---|
[61d6f59] | 214 |
|
---|
[d278ced] | 215 | <screen role="root" revision="sysv"><userinput>/etc/rc.d/init.d/cups restart</userinput></screen>
|
---|
| 216 |
|
---|
[2ff29ed] | 217 | <screen role="root" revision="systemd"><userinput>systemctl restart cups</userinput></screen>
|
---|
[61d6f59] | 218 |
|
---|
[fa3edfef] | 219 | <!-- <para>
|
---|
| 220 | This command may take a long time (up to 10 minutes)
|
---|
| 221 | to complete. Don't panic while <application>CUPS</application>
|
---|
| 222 | is rescanning the list of PPD files. The long delay will happen
|
---|
| 223 | only once.
|
---|
| 224 | </para> -->
|
---|
[61d6f59] | 225 |
|
---|
[fa3edfef] | 226 | <para>
|
---|
| 227 | Then point your web browser to <ulink url="http://localhost:631/"/>
|
---|
| 228 | to add a new printer to <application>CUPS</application>.
|
---|
| 229 | </para>
|
---|
[61d6f59] | 230 |
|
---|
| 231 | </sect3>
|
---|
| 232 |
|
---|
| 233 | </sect2>
|
---|
| 234 |
|
---|
| 235 | <sect2 role="content">
|
---|
| 236 | <title>Contents</title>
|
---|
| 237 |
|
---|
| 238 | <segmentedlist>
|
---|
| 239 | <segtitle>Installed Programs</segtitle>
|
---|
| 240 | <segtitle>Installed Libraries</segtitle>
|
---|
| 241 | <segtitle>Installed Directories</segtitle>
|
---|
| 242 |
|
---|
| 243 | <seglistitem>
|
---|
[9e3d18a7] | 244 | <seg>
|
---|
| 245 | cups-calibrate, cups-genppd.5.2, cups-genppdupdate, escputil,
|
---|
[3f76011a] | 246 | and testpattern
|
---|
[9e3d18a7] | 247 | </seg>
|
---|
| 248 | <seg>
|
---|
| 249 | libgutenprint.so, libgutenprintui2.so and optionally, various
|
---|
| 250 | <application>CUPS</application> filters and backend drivers under
|
---|
| 251 | /usr/lib/gutenprint/5.2/modules/
|
---|
| 252 | </seg>
|
---|
| 253 | <seg>
|
---|
| 254 | /usr/{include,lib,share}/gutenprint,
|
---|
| 255 | /usr/include/gutenprintui2 and
|
---|
| 256 | /usr/share/doc/gutenprint-&gutenprint-version;
|
---|
| 257 | </seg>
|
---|
[61d6f59] | 258 | </seglistitem>
|
---|
| 259 | </segmentedlist>
|
---|
| 260 |
|
---|
| 261 | <variablelist>
|
---|
| 262 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 263 | <?dbfo list-presentation="list"?>
|
---|
| 264 | <?dbhtml list-presentation="table"?>
|
---|
| 265 |
|
---|
| 266 | <varlistentry id="cups-calibrate">
|
---|
| 267 | <term><command>cups-calibrate</command></term>
|
---|
| 268 | <listitem>
|
---|
[fa3edfef] | 269 | <para>
|
---|
| 270 | calibrates the color output of printers using the
|
---|
| 271 | <application>Gutenprint</application>,
|
---|
| 272 | <application>CUPS</application> or
|
---|
[4c24eb0a] | 273 | <application>ESP Print Pro</application> drivers
|
---|
[fa3edfef] | 274 | </para>
|
---|
[61d6f59] | 275 | <indexterm zone="gutenprint cups-calibrate">
|
---|
| 276 | <primary sortas="b-cups-calibrate">cups-calibrate</primary>
|
---|
| 277 | </indexterm>
|
---|
| 278 | </listitem>
|
---|
| 279 | </varlistentry>
|
---|
| 280 |
|
---|
[298fee30] | 281 | <varlistentry id="cups-genppd.5.2">
|
---|
| 282 | <term><command>cups-genppd.5.2</command></term>
|
---|
| 283 | <listitem>
|
---|
| 284 | <para>
|
---|
[4c24eb0a] | 285 | generates Gutenprint PPD files for use with CUPS
|
---|
[298fee30] | 286 | </para>
|
---|
| 287 | <indexterm zone="gutenprint cups-genppd.5.2">
|
---|
| 288 | <primary sortas="b-cups-genppd.5.2">cups-genppd.5.2</primary>
|
---|
| 289 | </indexterm>
|
---|
| 290 | </listitem>
|
---|
| 291 | </varlistentry>
|
---|
| 292 |
|
---|
| 293 | <varlistentry id="cups-genppdupdate">
|
---|
| 294 | <term><command>cups-genppdupdate</command></term>
|
---|
| 295 | <listitem>
|
---|
| 296 | <para>
|
---|
[4c24eb0a] | 297 | regenerates the Gutenprint PPD files in use by CUPS
|
---|
[298fee30] | 298 | </para>
|
---|
| 299 | <indexterm zone="gutenprint cups-genppdupdate">
|
---|
| 300 | <primary sortas="b-cups-genppdupdate">cups-genppdupdate</primary>
|
---|
| 301 | </indexterm>
|
---|
| 302 | </listitem>
|
---|
| 303 | </varlistentry>
|
---|
| 304 |
|
---|
[61d6f59] | 305 | <varlistentry id="escputil">
|
---|
| 306 | <term><command>escputil</command></term>
|
---|
| 307 | <listitem>
|
---|
[fa3edfef] | 308 | <para>
|
---|
| 309 | is a command line utility to perform various maintenance
|
---|
[4c24eb0a] | 310 | tasks on Epson Stylus inkjet printers
|
---|
[fa3edfef] | 311 | </para>
|
---|
[61d6f59] | 312 | <indexterm zone="gutenprint escputil">
|
---|
| 313 | <primary sortas="b-escputil">escputil</primary>
|
---|
| 314 | </indexterm>
|
---|
| 315 | </listitem>
|
---|
| 316 | </varlistentry>
|
---|
[3f76011a] | 317 | <!-- With 5.2.15, even with IJS installed, this program no longer exists.
|
---|
| 318 | cups-filters-1.25.0 dropped support for IJS filters entirely. -->
|
---|
| 319 | <!--
|
---|
[dfdc10b] | 320 | <varlistentry id="ijsgutenprint.5.2">
|
---|
| 321 | <term><command>ijsgutenprint.5.2</command></term>
|
---|
[61d6f59] | 322 | <listitem>
|
---|
[fa3edfef] | 323 | <para>
|
---|
| 324 | is a Ghostscript driver for HP InkJet and LaserJet printers.
|
---|
| 325 | </para>
|
---|
[dfdc10b] | 326 | <indexterm zone="gutenprint ijsgutenprint.5.2">
|
---|
| 327 | <primary sortas="b-ijsgutenprint.5.2">ijsgutenprint.5.2</primary>
|
---|
[61d6f59] | 328 | </indexterm>
|
---|
| 329 | </listitem>
|
---|
| 330 | </varlistentry>
|
---|
[3f76011a] | 331 | -->
|
---|
[61d6f59] | 332 |
|
---|
[298fee30] | 333 | <varlistentry id="testpattern">
|
---|
| 334 | <term><command>testpattern</command></term>
|
---|
| 335 | <listitem>
|
---|
| 336 | <para>
|
---|
[4c24eb0a] | 337 | is a test program to learn how to use libgutenprint
|
---|
[298fee30] | 338 | </para>
|
---|
| 339 | <indexterm zone="gutenprint testpattern">
|
---|
| 340 | <primary sortas="b-testpattern">testpattern</primary>
|
---|
| 341 | </indexterm>
|
---|
| 342 | </listitem>
|
---|
| 343 | </varlistentry>
|
---|
[f3429309] | 344 |
|
---|
[298fee30] | 345 | </variablelist>
|
---|
[61d6f59] | 346 |
|
---|
| 347 | </sect2>
|
---|
| 348 |
|
---|
| 349 | </sect1>
|
---|