[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[61d6f59] | 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)">
|
---|
[3d516cf] | 13 | <!-- Tests add 75 SBU and 13 GB 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
|
---|
[ef63730] | 33 | <xref linkend="cups"/>.
|
---|
[12d2dfc] | 34 | <!--and the
|
---|
| 35 | <application>GIMP-2.0</application>.--> See a list of supported printers at
|
---|
[17aa21c] | 36 | <ulink url="https://gutenprint.sourceforge.net/p_Supported_Printers.php"/>.
|
---|
[61d6f59] | 37 | </para>
|
---|
| 38 |
|
---|
[ca99836] | 39 | &lfs122_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">
|
---|
[12d2dfc] | 81 | <xref linkend="cups"/><!-- and
|
---|
| 82 | <xref linkend="gimp"/>-->
|
---|
[60d53ec3] | 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
|
---|
[75b1a338] | 94 | url="https://git.shaftnet.org/gitea/slp/selphy_print/src/branch/master/lib6145">libS6145ImageReProcess</ulink>,
|
---|
[8558044] | 95 | see <ulink role="nodep"
|
---|
[75b1a338] | 96 | url="https://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
|
---|
[75b1a338] | 102 | url="https://git.shaftnet.org/gitea/slp/selphy_print/src/branch/master/lib70x">libMitsuD70ImageReProcess</ulink>,
|
---|
[f5cdf41] | 103 | see <ulink role="nodep"
|
---|
[75b1a338] | 104 | url="https://www.peachyphotos.com/blog/posts/201610061508-mitsubishi-cp-d70-family-working/">Peachy
|
---|
[f5cdf41] | 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 | </sect2>
|
---|
| 118 |
|
---|
[ae2cb05] | 119 | <sect2 role="kernel" id="gutenprint-escputil">
|
---|
| 120 | <title>Kernel Configuration</title>
|
---|
| 121 |
|
---|
| 122 | <para>
|
---|
| 123 | If you intend to use <application>escputil</application> with a USB-connected
|
---|
| 124 | Epson Stylus printer for commands such as <command>--ink-level</command>
|
---|
| 125 | which need to access the raw device, you must enable the kernel's usblp
|
---|
| 126 | driver. Enable the following options in your kernel configuration and
|
---|
| 127 | recompile the kernel:
|
---|
| 128 | </para>
|
---|
| 129 |
|
---|
[cddcdb14] | 130 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 131 | href="usb-printer-kernel.xml"/>
|
---|
[ae2cb05] | 132 |
|
---|
| 133 | <indexterm zone="gutenprint escputil">
|
---|
| 134 | <primary sortas="d-escputil">escputil for usb printers</primary>
|
---|
| 135 | </indexterm>
|
---|
| 136 |
|
---|
| 137 | </sect2>
|
---|
| 138 |
|
---|
[61d6f59] | 139 | <sect2 role="installation">
|
---|
| 140 | <title>Installation of Gutenprint</title>
|
---|
| 141 |
|
---|
[fa3edfef] | 142 | <para>
|
---|
| 143 | Install <application>Gutenprint</application> by running the
|
---|
| 144 | following commands:
|
---|
| 145 | </para>
|
---|
[61d6f59] | 146 |
|
---|
[b00021d] | 147 | <screen><userinput>sed -i 's|$(PACKAGE)/doc|doc/$(PACKAGE)-$(VERSION)|' \
|
---|
[2eb1a3d] | 148 | {,doc/,doc/developer/}Makefile.in &&
|
---|
[9e3d18a7] | 149 |
|
---|
[12d2dfc] | 150 | ./configure --prefix=/usr \
|
---|
| 151 | --disable-static \
|
---|
| 152 | --without-gimp2 \
|
---|
| 153 | --without-gimp2-as-gutenprint &&
|
---|
[61d6f59] | 154 | make</userinput></screen>
|
---|
| 155 |
|
---|
[dfdc10b] | 156 | <!-- this is supposed to discourage you from running the tests if you upgrade
|
---|
[6495834] | 157 | the package - but the tests in 5.2.12 have changed and I thought I read they
|
---|
| 158 | were more parallel -->
|
---|
[fa3edfef] | 159 | <para>
|
---|
| 160 | To test the results, issue: <command>make check</command>. The tests
|
---|
| 161 | take a very long time and use a lot of disk space. When last tested
|
---|
| 162 | (version 5.2.15 in June 2019) this needed 75 SBU and 13.5 GB
|
---|
| 163 | to complete the tests (one test, rastertogutenprint failed because the
|
---|
| 164 | CUPS ppds are for a previous version. Maybe genppds should be run before
|
---|
| 165 | the tests). Note that the tests used only one CPU.
|
---|
| 166 | </para>
|
---|
[61d6f59] | 167 |
|
---|
[fa3edfef] | 168 | <para>
|
---|
| 169 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 170 | </para>
|
---|
[61d6f59] | 171 |
|
---|
| 172 | <screen role="root"><userinput>make install &&
|
---|
| 173 | install -v -m755 -d /usr/share/doc/gutenprint-&gutenprint-version;/api/gutenprint{,ui2} &&
|
---|
| 174 | install -v -m644 doc/gutenprint/html/* \
|
---|
| 175 | /usr/share/doc/gutenprint-&gutenprint-version;/api/gutenprint &&
|
---|
| 176 | install -v -m644 doc/gutenprintui2/html/* \
|
---|
| 177 | /usr/share/doc/gutenprint-&gutenprint-version;/api/gutenprintui2</userinput></screen>
|
---|
| 178 |
|
---|
| 179 | </sect2>
|
---|
| 180 |
|
---|
| 181 | <sect2 role="commands">
|
---|
| 182 | <title>Command Explanations</title>
|
---|
| 183 |
|
---|
[fa3edfef] | 184 | <para>
|
---|
| 185 | <command>sed -i '...' ...Makefile.in</command>: This
|
---|
| 186 | command is used so that the package documentation is installed in the
|
---|
| 187 | conventional <filename class='directory'>/usr/share/doc</filename>
|
---|
| 188 | directory structure instead of
|
---|
| 189 | <filename class='directory'>/usr/share/gutenprint/doc</filename>.
|
---|
| 190 | </para>
|
---|
[61d6f59] | 191 |
|
---|
[1a518e97] | 192 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 193 | href="../../xincludes/static-libraries.xml"/>
|
---|
[dfdc10b] | 194 |
|
---|
[12d2dfc] | 195 | <para>
|
---|
| 196 | <parameter>--without-gimp2</parameter>: This switch disables support
|
---|
| 197 | for GIMP because it has not been updated to support GIMP3 yet.
|
---|
| 198 | </para>
|
---|
| 199 |
|
---|
[61d6f59] | 200 | </sect2>
|
---|
| 201 |
|
---|
| 202 | <sect2 role="configuration">
|
---|
| 203 | <title>Configuring Gutenprint</title>
|
---|
| 204 |
|
---|
| 205 | <sect3>
|
---|
| 206 | <title>Configuration Information</title>
|
---|
| 207 |
|
---|
[fa3edfef] | 208 | <para>
|
---|
| 209 | For <application>CUPS</application> to see newly installed print
|
---|
| 210 | drivers, it has to be restarted (as the <systemitem
|
---|
| 211 | class="username">root</systemitem> user):
|
---|
| 212 | </para>
|
---|
[61d6f59] | 213 |
|
---|
[d278ced] | 214 | <screen role="root" revision="sysv"><userinput>/etc/rc.d/init.d/cups restart</userinput></screen>
|
---|
| 215 |
|
---|
[2ff29ed] | 216 | <screen role="root" revision="systemd"><userinput>systemctl restart cups</userinput></screen>
|
---|
[61d6f59] | 217 |
|
---|
[fa3edfef] | 218 | <!-- <para>
|
---|
| 219 | This command may take a long time (up to 10 minutes)
|
---|
| 220 | to complete. Don't panic while <application>CUPS</application>
|
---|
| 221 | is rescanning the list of PPD files. The long delay will happen
|
---|
| 222 | only once.
|
---|
| 223 | </para> -->
|
---|
[61d6f59] | 224 |
|
---|
[fa3edfef] | 225 | <para>
|
---|
| 226 | Then point your web browser to <ulink url="http://localhost:631/"/>
|
---|
| 227 | to add a new printer to <application>CUPS</application>.
|
---|
| 228 | </para>
|
---|
[61d6f59] | 229 |
|
---|
| 230 | </sect3>
|
---|
| 231 |
|
---|
| 232 | </sect2>
|
---|
| 233 |
|
---|
| 234 | <sect2 role="content">
|
---|
| 235 | <title>Contents</title>
|
---|
| 236 |
|
---|
| 237 | <segmentedlist>
|
---|
| 238 | <segtitle>Installed Programs</segtitle>
|
---|
| 239 | <segtitle>Installed Libraries</segtitle>
|
---|
| 240 | <segtitle>Installed Directories</segtitle>
|
---|
| 241 |
|
---|
| 242 | <seglistitem>
|
---|
[9e3d18a7] | 243 | <seg>
|
---|
| 244 | cups-calibrate, cups-genppd.5.2, cups-genppdupdate, escputil,
|
---|
[3f76011a] | 245 | and testpattern
|
---|
[9e3d18a7] | 246 | </seg>
|
---|
| 247 | <seg>
|
---|
| 248 | libgutenprint.so, libgutenprintui2.so and optionally, various
|
---|
| 249 | <application>CUPS</application> filters and backend drivers under
|
---|
| 250 | /usr/lib/gutenprint/5.2/modules/
|
---|
| 251 | </seg>
|
---|
| 252 | <seg>
|
---|
| 253 | /usr/{include,lib,share}/gutenprint,
|
---|
| 254 | /usr/include/gutenprintui2 and
|
---|
| 255 | /usr/share/doc/gutenprint-&gutenprint-version;
|
---|
| 256 | </seg>
|
---|
[61d6f59] | 257 | </seglistitem>
|
---|
| 258 | </segmentedlist>
|
---|
| 259 |
|
---|
| 260 | <variablelist>
|
---|
| 261 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 262 | <?dbfo list-presentation="list"?>
|
---|
| 263 | <?dbhtml list-presentation="table"?>
|
---|
| 264 |
|
---|
| 265 | <varlistentry id="cups-calibrate">
|
---|
| 266 | <term><command>cups-calibrate</command></term>
|
---|
| 267 | <listitem>
|
---|
[fa3edfef] | 268 | <para>
|
---|
| 269 | calibrates the color output of printers using the
|
---|
| 270 | <application>Gutenprint</application>,
|
---|
| 271 | <application>CUPS</application> or
|
---|
[4c24eb0a] | 272 | <application>ESP Print Pro</application> drivers
|
---|
[fa3edfef] | 273 | </para>
|
---|
[61d6f59] | 274 | <indexterm zone="gutenprint cups-calibrate">
|
---|
| 275 | <primary sortas="b-cups-calibrate">cups-calibrate</primary>
|
---|
| 276 | </indexterm>
|
---|
| 277 | </listitem>
|
---|
| 278 | </varlistentry>
|
---|
| 279 |
|
---|
[298fee30] | 280 | <varlistentry id="cups-genppd.5.2">
|
---|
| 281 | <term><command>cups-genppd.5.2</command></term>
|
---|
| 282 | <listitem>
|
---|
| 283 | <para>
|
---|
[4c24eb0a] | 284 | generates Gutenprint PPD files for use with CUPS
|
---|
[298fee30] | 285 | </para>
|
---|
| 286 | <indexterm zone="gutenprint cups-genppd.5.2">
|
---|
| 287 | <primary sortas="b-cups-genppd.5.2">cups-genppd.5.2</primary>
|
---|
| 288 | </indexterm>
|
---|
| 289 | </listitem>
|
---|
| 290 | </varlistentry>
|
---|
| 291 |
|
---|
| 292 | <varlistentry id="cups-genppdupdate">
|
---|
| 293 | <term><command>cups-genppdupdate</command></term>
|
---|
| 294 | <listitem>
|
---|
| 295 | <para>
|
---|
[4c24eb0a] | 296 | regenerates the Gutenprint PPD files in use by CUPS
|
---|
[298fee30] | 297 | </para>
|
---|
| 298 | <indexterm zone="gutenprint cups-genppdupdate">
|
---|
| 299 | <primary sortas="b-cups-genppdupdate">cups-genppdupdate</primary>
|
---|
| 300 | </indexterm>
|
---|
| 301 | </listitem>
|
---|
| 302 | </varlistentry>
|
---|
| 303 |
|
---|
[61d6f59] | 304 | <varlistentry id="escputil">
|
---|
| 305 | <term><command>escputil</command></term>
|
---|
| 306 | <listitem>
|
---|
[fa3edfef] | 307 | <para>
|
---|
| 308 | is a command line utility to perform various maintenance
|
---|
[4c24eb0a] | 309 | tasks on Epson Stylus inkjet printers
|
---|
[fa3edfef] | 310 | </para>
|
---|
[61d6f59] | 311 | <indexterm zone="gutenprint escputil">
|
---|
| 312 | <primary sortas="b-escputil">escputil</primary>
|
---|
| 313 | </indexterm>
|
---|
| 314 | </listitem>
|
---|
| 315 | </varlistentry>
|
---|
[3f76011a] | 316 | <!-- With 5.2.15, even with IJS installed, this program no longer exists.
|
---|
| 317 | cups-filters-1.25.0 dropped support for IJS filters entirely. -->
|
---|
| 318 | <!--
|
---|
[dfdc10b] | 319 | <varlistentry id="ijsgutenprint.5.2">
|
---|
| 320 | <term><command>ijsgutenprint.5.2</command></term>
|
---|
[61d6f59] | 321 | <listitem>
|
---|
[fa3edfef] | 322 | <para>
|
---|
| 323 | is a Ghostscript driver for HP InkJet and LaserJet printers.
|
---|
| 324 | </para>
|
---|
[dfdc10b] | 325 | <indexterm zone="gutenprint ijsgutenprint.5.2">
|
---|
| 326 | <primary sortas="b-ijsgutenprint.5.2">ijsgutenprint.5.2</primary>
|
---|
[61d6f59] | 327 | </indexterm>
|
---|
| 328 | </listitem>
|
---|
| 329 | </varlistentry>
|
---|
[3f76011a] | 330 | -->
|
---|
[61d6f59] | 331 |
|
---|
[298fee30] | 332 | <varlistentry id="testpattern">
|
---|
| 333 | <term><command>testpattern</command></term>
|
---|
| 334 | <listitem>
|
---|
| 335 | <para>
|
---|
[4c24eb0a] | 336 | is a test program to learn how to use libgutenprint
|
---|
[298fee30] | 337 | </para>
|
---|
| 338 | <indexterm zone="gutenprint testpattern">
|
---|
| 339 | <primary sortas="b-testpattern">testpattern</primary>
|
---|
| 340 | </indexterm>
|
---|
| 341 | </listitem>
|
---|
| 342 | </varlistentry>
|
---|
[f3429309] | 343 |
|
---|
[298fee30] | 344 | </variablelist>
|
---|
[61d6f59] | 345 |
|
---|
| 346 | </sect2>
|
---|
| 347 |
|
---|
| 348 | </sect1>
|
---|