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