source: pst/printing/gutenprint.xml@ 4df5695d

12.0 12.1 kea ken/TL2024 ken/tuningfonts lazarus plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 4df5695d was 14891a90, checked in by Xi Ruoyao <xry111@…>, 12 months ago

treewide: More "User Notes" clean up

Remove links to pages w/o real contents.

  • Property mode set to 100644
File size: 11.9 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-dl;/gimp-print/gutenprint-&gutenprint-version;.tar.xz">
8 <!ENTITY gutenprint-download-ftp " ">
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)">
13 <!-- Tests add 75 SBU and 13GB to the equation - updated info in the tests below -->
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
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="https://gutenprint.sourceforge.net/p_Supported_Printers.php"/>.
37 </para>
38
39 &lfs113_checked;
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>
45 Download (HTTP): <ulink url="&gutenprint-download-http;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download (FTP): <ulink url="&gutenprint-download-ftp;"/>
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download MD5 sum: &gutenprint-md5sum;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download size: &gutenprint-size;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated disk space required: &gutenprint-buildsize;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated build time: &gutenprint-time;
71 </para>
72 </listitem>
73 </itemizedlist>
74
75 <bridgehead renderas="sect3">Gutenprint Dependencies</bridgehead>
76
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>
80 <para role="recommended">
81 <xref linkend="cups"/> and
82 <xref linkend="gimp"/>
83 </para>
84
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="https://git.shaftnet.org/gitea/slp/selphy_print/src/branch/master/lib6145">libS6145ImageReProcess</ulink>,
95 see <ulink role="nodep"
96 url="https://www.peachyphotos.com/blog/posts/201601301524-sinfonia-chc-s6145-cs2-and-ciaat-brava-21-revited/">Peachy
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="https://git.shaftnet.org/gitea/slp/selphy_print/src/branch/master/lib70x">libMitsuD70ImageReProcess</ulink>,
103 see <ulink role="nodep"
104 url="https://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.
107 </para>
108
109 <bridgehead renderas="sect4">Optional (to Regenerate Documentation)</bridgehead>
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>
116
117 </sect2>
118
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
130<screen><literal>Device Drivers ---&gt;
131 [*] USB support ---&gt; [CONFIG_USB_SUPPORT]
132 &lt;*/M&gt; OHCI HCD (USB 1.1) support [CONFIG_USB_OHCI_HCD]
133 &lt;*/M&gt; UHCI HCD (most Intel and VIA) support [CONFIG_USB_UHCI_HCD]
134 &lt;*/M&gt; USB Printer support [CONFIG_USB_PRINTER]</literal></screen>
135
136 <indexterm zone="gutenprint escputil">
137 <primary sortas="d-escputil">escputil for usb printers</primary>
138 </indexterm>
139
140 </sect2>
141
142 <sect2 role="installation">
143 <title>Installation of Gutenprint</title>
144
145 <para>
146 Install <application>Gutenprint</application> by running the
147 following commands:
148 </para>
149
150<screen><userinput>sed -i 's|$(PACKAGE)/doc|doc/$(PACKAGE)-$(VERSION)|' \
151 {,doc/,doc/developer/}Makefile.in &amp;&amp;
152
153./configure --prefix=/usr --disable-static &amp;&amp;
154make</userinput></screen>
155
156 <!-- this is supposed to discourage you from running the tests if you upgrade
157 the package - but the tests in 5.2.12 have changed and I thought I read they
158 were more parallel -->
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>
167
168 <para>
169 Now, as the <systemitem class="username">root</systemitem> user:
170 </para>
171
172<screen role="root"><userinput>make install &amp;&amp;
173install -v -m755 -d /usr/share/doc/gutenprint-&gutenprint-version;/api/gutenprint{,ui2} &amp;&amp;
174install -v -m644 doc/gutenprint/html/* \
175 /usr/share/doc/gutenprint-&gutenprint-version;/api/gutenprint &amp;&amp;
176install -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
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>
191
192 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
193 href="../../xincludes/static-libraries.xml"/>
194
195 </sect2>
196
197 <sect2 role="configuration">
198 <title>Configuring Gutenprint</title>
199
200 <sect3>
201 <title>Configuration Information</title>
202
203 <para>
204 For <application>CUPS</application> to see newly installed print
205 drivers, it has to be restarted (as the <systemitem
206 class="username">root</systemitem> user):
207 </para>
208
209<screen role="root" revision="sysv"><userinput>/etc/rc.d/init.d/cups restart</userinput></screen>
210
211<screen role="root" revision="systemd"><userinput>systemctl restart cups</userinput></screen>
212
213 <!-- <para>
214 This command may take a long time (up to 10 minutes)
215 to complete. Don't panic while <application>CUPS</application>
216 is rescanning the list of PPD files. The long delay will happen
217 only once.
218 </para> -->
219
220 <para>
221 Then point your web browser to <ulink url="http://localhost:631/"/>
222 to add a new printer to <application>CUPS</application>.
223 </para>
224
225 </sect3>
226
227 </sect2>
228
229 <sect2 role="content">
230 <title>Contents</title>
231
232 <segmentedlist>
233 <segtitle>Installed Programs</segtitle>
234 <segtitle>Installed Libraries</segtitle>
235 <segtitle>Installed Directories</segtitle>
236
237 <seglistitem>
238 <seg>
239 cups-calibrate, cups-genppd.5.2, cups-genppdupdate, escputil,
240 and testpattern
241 </seg>
242 <seg>
243 libgutenprint.so, libgutenprintui2.so and optionally, various
244 <application>CUPS</application> filters and backend drivers under
245 /usr/lib/gutenprint/5.2/modules/
246 </seg>
247 <seg>
248 /usr/{include,lib,share}/gutenprint,
249 /usr/include/gutenprintui2 and
250 /usr/share/doc/gutenprint-&gutenprint-version;
251 </seg>
252 </seglistitem>
253 </segmentedlist>
254
255 <variablelist>
256 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
257 <?dbfo list-presentation="list"?>
258 <?dbhtml list-presentation="table"?>
259
260 <varlistentry id="cups-calibrate">
261 <term><command>cups-calibrate</command></term>
262 <listitem>
263 <para>
264 calibrates the color output of printers using the
265 <application>Gutenprint</application>,
266 <application>CUPS</application> or
267 <application>ESP Print Pro</application> drivers
268 </para>
269 <indexterm zone="gutenprint cups-calibrate">
270 <primary sortas="b-cups-calibrate">cups-calibrate</primary>
271 </indexterm>
272 </listitem>
273 </varlistentry>
274
275 <varlistentry id="cups-genppd.5.2">
276 <term><command>cups-genppd.5.2</command></term>
277 <listitem>
278 <para>
279 generates Gutenprint PPD files for use with CUPS
280 </para>
281 <indexterm zone="gutenprint cups-genppd.5.2">
282 <primary sortas="b-cups-genppd.5.2">cups-genppd.5.2</primary>
283 </indexterm>
284 </listitem>
285 </varlistentry>
286
287 <varlistentry id="cups-genppdupdate">
288 <term><command>cups-genppdupdate</command></term>
289 <listitem>
290 <para>
291 regenerates the Gutenprint PPD files in use by CUPS
292 </para>
293 <indexterm zone="gutenprint cups-genppdupdate">
294 <primary sortas="b-cups-genppdupdate">cups-genppdupdate</primary>
295 </indexterm>
296 </listitem>
297 </varlistentry>
298
299 <varlistentry id="escputil">
300 <term><command>escputil</command></term>
301 <listitem>
302 <para>
303 is a command line utility to perform various maintenance
304 tasks on Epson Stylus inkjet printers
305 </para>
306 <indexterm zone="gutenprint escputil">
307 <primary sortas="b-escputil">escputil</primary>
308 </indexterm>
309 </listitem>
310 </varlistentry>
311 <!-- With 5.2.15, even with IJS installed, this program no longer exists.
312 cups-filters-1.25.0 dropped support for IJS filters entirely. -->
313 <!--
314 <varlistentry id="ijsgutenprint.5.2">
315 <term><command>ijsgutenprint.5.2</command></term>
316 <listitem>
317 <para>
318 is a Ghostscript driver for HP InkJet and LaserJet printers.
319 </para>
320 <indexterm zone="gutenprint ijsgutenprint.5.2">
321 <primary sortas="b-ijsgutenprint.5.2">ijsgutenprint.5.2</primary>
322 </indexterm>
323 </listitem>
324 </varlistentry>
325 -->
326
327 <varlistentry id="testpattern">
328 <term><command>testpattern</command></term>
329 <listitem>
330 <para>
331 is a test program to learn how to use libgutenprint
332 </para>
333 <indexterm zone="gutenprint testpattern">
334 <primary sortas="b-testpattern">testpattern</primary>
335 </indexterm>
336 </listitem>
337 </varlistentry>
338
339 </variablelist>
340
341 </sect2>
342
343</sect1>
Note: See TracBrowser for help on using the repository browser.