source: pst/printing/gutenprint.xml@ d278ced

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since d278ced was d278ced, checked in by Douglas R. Reno <renodr@…>, 8 years ago

Update to gjs-1.45.4
Added several seds to packages to silence libtool warnings
Added wayland-protocols to trunk and modified GTK+3 instructions to reflect this
Typo fixes and text changes
Added systemd-specific CUPS restart info back to Gutenprint
Added a note in babl that generating the docs takes a long time.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@17605 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 11.2 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-repo;/gimp-print/gutenprint-&gutenprint-version;.tar.bz2">
8 <!ENTITY gutenprint-download-ftp " ">
9 <!ENTITY gutenprint-md5sum "fa6083535b7235fe531cd57e7345a81f">
10 <!ENTITY gutenprint-size "6.3 MB">
11 <!ENTITY gutenprint-buildsize "81 MB (without tests)">
12 <!ENTITY gutenprint-time "0.4 SBU (without tests)">
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
35 <xref linkend="gs"/>, <xref linkend="cups"/>,
36 <ulink url="http://www.linuxfoundation.org/collaborate/workgroups/openprinting/database/foomatic">Foomatic</ulink>,
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"/>.
40 </para>
41
42 &lfs79_checked;
43 &gcc6_checked;
44
45 <bridgehead renderas="sect3">Package Information</bridgehead>
46 <itemizedlist spacing="compact">
47 <listitem>
48 <para>Download (HTTP): <ulink url="&gutenprint-download-http;"/></para>
49 </listitem>
50 <listitem>
51 <para>Download (FTP): <ulink url="&gutenprint-download-ftp;"/></para>
52 </listitem>
53 <listitem>
54 <para>Download MD5 sum: &gutenprint-md5sum;</para>
55 </listitem>
56 <listitem>
57 <para>Download size: &gutenprint-size;</para>
58 </listitem>
59 <listitem>
60 <para>Estimated disk space required: &gutenprint-buildsize;</para>
61 </listitem>
62 <listitem>
63 <para>Estimated build time: &gutenprint-time;</para>
64 </listitem>
65 </itemizedlist>
66
67 <bridgehead renderas="sect3">Gutenprint Dependencies</bridgehead>
68
69 <!-- recommend cups since we describe how to use it, and the gimp
70 so that we can use gutenprint's driver to print photos there -->
71 <bridgehead renderas="sect4">Recommended</bridgehead>
72 <para role="recommended">
73 <xref linkend="cups"/> and
74 <xref linkend="gimp"/>
75 </para>
76
77 <bridgehead renderas="sect4">Optional</bridgehead>
78 <para role="optional">
79 <xref linkend="ijs"/> and
80 <ulink url="http://www.linuxfoundation.org/collaborate/workgroups/openprinting/database/foomatic">Foomatic</ulink>
81 </para>
82
83 <bridgehead renderas="sect4">Optional (to Regenerate Documentation)</bridgehead>
84 <para role="optional">
85 <xref linkend="imagemagick"/>,
86 <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>),
87 <xref linkend="doxygen"/>, and
88 <xref linkend="docbook-utils"/>
89 </para>
90
91 <para condition="html" role="usernotes">User Notes:
92 <ulink url="&blfs-wiki;/gutenprint"/></para>
93
94 </sect2>
95
96 <sect2 role="kernel" id="gutenprint-escputil">
97 <title>Kernel Configuration</title>
98
99 <para>
100 If you intend to use <application>escputil</application> with a USB-connected
101 Epson Stylus printer for commands such as <command>--ink-level</command>
102 which need to access the raw device, you must enable the kernel's usblp
103 driver. Enable the following options in your kernel configuration and
104 recompile the kernel:
105 </para>
106
107<screen><literal>Device Drivers ---&gt;
108 [*] USB support ---&gt; [CONFIG_USB_SUPPORT]
109 &lt;*/M&gt; OHCI HCD (USB 1.1) support [CONFIG_USB_OHCI_HCD]
110 &lt;*/M&gt; UHCI HCD (most Intel and VIA) support [CONFIG_USB_UHCI_HCD]
111 &lt;*/M&gt; USB Printer support [CONFIG_USB_PRINTER]</literal></screen>
112
113 <indexterm zone="gutenprint escputil">
114 <primary sortas="d-escputil">escputil for usb printers</primary>
115 </indexterm>
116
117 </sect2>
118
119 <sect2 role="installation">
120 <title>Installation of Gutenprint</title>
121
122 <para>Install <application>Gutenprint</application> by running the
123 following commands:</para>
124
125<screen><userinput>sed -i 's|$(PACKAGE)/doc|doc/$(PACKAGE)-$(VERSION)|' \
126 {,doc/,doc/developer/}Makefile.in &amp;&amp;
127
128./configure --prefix=/usr --disable-static &amp;&amp;
129
130make</userinput></screen>
131
132 <!-- this is supposed to discourage you from running the tests if you upgrade
133 the package - I suppose you could sed the tests/Makefile to only run 'curve',
134 and perhaps 'run-testdither', it's 'run-weavetest' which takes most of the time -->
135 <para>To test the results, issue: <command>make check</command>. The tests
136 take a very long time and use a lot of disk space but reports vary substantially.
137 When last tested (version 5.2.11, BLFS-7.8, using -j2 needed 154 SBU and 8.6 GB
138 to complete the tests.</para>
139
140 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
141
142<screen role="root"><userinput>make install &amp;&amp;
143install -v -m755 -d /usr/share/doc/gutenprint-&gutenprint-version;/api/gutenprint{,ui2} &amp;&amp;
144install -v -m644 doc/gutenprint/html/* \
145 /usr/share/doc/gutenprint-&gutenprint-version;/api/gutenprint &amp;&amp;
146install -v -m644 doc/gutenprintui2/html/* \
147 /usr/share/doc/gutenprint-&gutenprint-version;/api/gutenprintui2</userinput></screen>
148
149 </sect2>
150
151 <sect2 role="commands">
152 <title>Command Explanations</title>
153
154 <para><command>sed -i '...' ...Makefile.in</command>: This
155 command is used so that the package documentation is installed in the
156 conventional <filename class='directory'>/usr/share/doc</filename>
157 directory structure instead of
158 <filename class='directory'>/usr/share/gutenprint/doc</filename>.</para>
159
160 <para><option>--disable-static</option>: This switch prevents the static
161 libraries being installed.</para>
162
163 <!-- redundant, only applies to cups < 1.2.0 : cups-5.0 gives a version of 1.5.0
164 FIXME - delete this on next version upgrade
165 <para><option>\-\-with-translated-ppds=no</option>: When this parameter is
166 given, only US English PPD files for <application>CUPS</application>
167 will be built. Useful if the PPD files are not yet translated into your
168 native language and you want to save some space by not installing unneeded
169 translations.</para>-->
170
171 </sect2>
172
173 <sect2 role="configuration">
174 <title>Configuring Gutenprint</title>
175
176 <sect3>
177 <title>Configuration Information</title>
178
179 <para>For <application>CUPS</application> to see newly installed print
180 drivers, it has to be restarted (as the <systemitem
181 class="username">root</systemitem> user):</para>
182
183<screen role="root" revision="sysv"><userinput>/etc/rc.d/init.d/cups restart</userinput></screen>
184
185<screen role="root" revision="systemd"><userinput>systemctl restart org.cups.cupsd</userinput></screen>
186
187 <!-- <para>This command may take a long time (up to 10 minutes)
188 to complete. Don't panic while <application>CUPS</application>
189 is rescanning the list of PPD files. The long delay will happen
190 only once.</para> -->
191
192 <para>Then point your web browser to <ulink url="http://localhost:631/"/>
193 to add a new printer to <application>CUPS</application>.</para>
194
195 </sect3>
196
197 </sect2>
198
199 <sect2 role="content">
200 <title>Contents</title>
201
202 <segmentedlist>
203 <segtitle>Installed Programs</segtitle>
204 <segtitle>Installed Libraries</segtitle>
205 <segtitle>Installed Directories</segtitle>
206
207 <seglistitem>
208 <seg>
209 cups-calibrate, cups-genppd.5.2, cups-genppdupdate, escputil,
210 ijsgutenprint.5.2 (if compiled using ijs), and testpattern
211 </seg>
212 <seg>
213 libgutenprint.so, libgutenprintui2.so and optionally, various
214 <application>CUPS</application> filters and backend drivers under
215 /usr/lib/gutenprint/5.2/modules/
216 </seg>
217 <seg>
218 /usr/{include,lib,share}/gutenprint,
219 /usr/include/gutenprintui2 and
220 /usr/share/doc/gutenprint-&gutenprint-version;
221 </seg>
222 </seglistitem>
223 </segmentedlist>
224
225 <variablelist>
226 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
227 <?dbfo list-presentation="list"?>
228 <?dbhtml list-presentation="table"?>
229
230 <varlistentry id="cups-calibrate">
231 <term><command>cups-calibrate</command></term>
232 <listitem>
233 <para>calibrates the color output of printers using the
234 <application>Gutenprint</application>,
235 <application>CUPS</application> or
236 <application>ESP Print Pro</application> drivers.</para>
237 <indexterm zone="gutenprint cups-calibrate">
238 <primary sortas="b-cups-calibrate">cups-calibrate</primary>
239 </indexterm>
240 </listitem>
241 </varlistentry>
242
243 <varlistentry id="cups-genppd.5.2">
244 <term><command>cups-genppd.5.2</command></term>
245 <listitem>
246 <para>
247 generate Gutenprint PPD files for use with CUPS.
248 </para>
249 <indexterm zone="gutenprint cups-genppd.5.2">
250 <primary sortas="b-cups-genppd.5.2">cups-genppd.5.2</primary>
251 </indexterm>
252 </listitem>
253 </varlistentry>
254
255 <varlistentry id="cups-genppdupdate">
256 <term><command>cups-genppdupdate</command></term>
257 <listitem>
258 <para>
259 regenerates the Gutenprint PPD files in use by CUPS.
260 </para>
261 <indexterm zone="gutenprint cups-genppdupdate">
262 <primary sortas="b-cups-genppdupdate">cups-genppdupdate</primary>
263 </indexterm>
264 </listitem>
265 </varlistentry>
266
267 <varlistentry id="escputil">
268 <term><command>escputil</command></term>
269 <listitem>
270 <para>is a command line utility to perform various maintenance
271 tasks on Epson Stylus inkjet printers.</para>
272 <indexterm zone="gutenprint escputil">
273 <primary sortas="b-escputil">escputil</primary>
274 </indexterm>
275 </listitem>
276 </varlistentry>
277
278 <varlistentry id="ijsgutenprint.5.2">
279 <term><command>ijsgutenprint.5.2</command></term>
280 <listitem>
281 <para>is a Ghostscript driver for HP inkjet and laserjet printers.</para>
282 <indexterm zone="gutenprint ijsgutenprint.5.2">
283 <primary sortas="b-ijsgutenprint.5.2">ijsgutenprint.5.2</primary>
284 </indexterm>
285 </listitem>
286 </varlistentry>
287
288 <varlistentry id="testpattern">
289 <term><command>testpattern</command></term>
290 <listitem>
291 <para>
292 is a test programm to learn how to use libgutenprint.
293 </para>
294 <indexterm zone="gutenprint testpattern">
295 <primary sortas="b-testpattern">testpattern</primary>
296 </indexterm>
297 </listitem>
298 </varlistentry>
299
300 </variablelist>
301
302 </sect2>
303
304</sect1>
Note: See TracBrowser for help on using the repository browser.