Debian Codegraph @

README

raw
1 Welcome to Gutenprint 5.3.6pre! Please read these notes carefully.
2
3 *** NOTE TO PACKAGERS: Please read the file README.package for issues
4 that are of interest to distributors and packagers of Gutenprint.
5 It is not necessary for end users of Gutenprint to read this file.
6
7 ================================================================
8
9 I) INTRODUCTION
10
11 Gutenprint is a suite of printer drivers for UNIX, Linux, and other
12 systems that use CUPS as their printing system. Gutenprint
13 currently supports over 3000 printers. It also includes an enhanced
14 Print plug-in for GIMP that replaces the print plug-in packaged with
15 the GIMP distribution.
16
17 Gutenprint was renamed from its original name of Gimp-Print in
18 order to clearly distinguish it from GIMP. While this package
19 started out as the Print plugin for GIMP, it has expanded into a
20 collection of general purpose printer drivers, and the enhanced
21 Print plugin for GIMP is now only a small part of the package.
22 Furthermore, the name Gutenprint recognizes Johannes Gutenberg,
23 the inventor of the movable type printing press. Finally, the
24 word "guten" means "good" in German.
25
26 Please read the user's manual (doc/gutenprint-users-manual.pdf)
27 carefully, as it covers much more information than this README
28 file. In addition, please read the release notes (NEWS), as it
29 has information on the latest changes.
30
31 Gutenprint supports only the printer part of multi-function
32 devices (devices that typically include scanning, copying, and fax
33 capabilities).
34
35 We recommend that all users who wish to use this package for
36 general purpose printing use CUPS. CUPS provides an excellent
37 web-based interface for easy printer administration, and all
38 CUPS-enabled applications (OpenOffice.org, all KDE apps, etc.) and
39 printing dialogs (kprinter, xpp, etc.) show all the options in
40 easy to use GUIs. Please visit http://www.cups.org/ for
41 information on downloading and installing CUPS.
42
43 ================================================================
44
45 II) INSTALLATION
46
47 This section is provided for people installing the package from
48 source. If you are installing from a pre-compiled package (such
49 as the Macintosh OS X package, or a package provided by your
50 distribution vendor), you may skip this section.
51
52 Installing packages from source requires some level of system
53 administration skills along with superuser privileges. Superuser
54 privilege allows you to perform actions that may be damaging to
55 your system. If you are not comfortable with the material
56 discussed here and in the release notes, or with performing simple
57 administrative actions, we recommend that you not attempt to
58 install this package from source.
59
60 If you are building Gutenprint from the git repository, you need
61 to take some additional steps. Please read doc/README.maintaining
62 for instructions on how to build directly from git.
63
64 Before beginning, please read the release notes carefully for any
65 updates.
66
67 ----------------
68
69 A) OVERVIEW
70
71 Gutenprint includes the following primary components:
72
73 - The core driver library (required for everything else)
74 - A CUPS (Common UNIX Printing System) driver
75 - A CUPS backend, required for selected dye-sublimation printers
76 - A command-line utility to administer and maintain Epson
77 printers
78 - An enhanced Print plug-in for GIMP
79 - GTK2-based UI libraries (used by the enhanced GIMP plug-in)
80
81 This package requires the use of GNU Make to compile. On systems
82 with both GNU make and another make installed, GNU make may be
83 named `gmake' or `gnumake'. BSD users in particular must take
84 care to use 'gmake'.
85
86 The general procedure to build Gutenprint is as follows:
87
88 ./configure [options]
89 make
90 make install
91
92 The "configure" script, which must be run before doing anything
93 else, controls which of these components are built along with any
94 options desired. This script determines what software is
95 installed on your system and what components will be compatible
96 with it, and prepares the package to be built and installed. If
97 the script emits any warnings or errors, please be certain that
98 you understand them before proceeding.
99
100 After the configure script has completed its work, it will print
101 a summary of its choices. Please ensure that it is correct before
102 proceeding. The summary looks like this:
103
104 Configuration Summary:
105 ------------- --------
106
107 If you have any problems, please report the information below to
108 [email protected]
109
110 ================================================================
111 Release: gutenprint 5.3.3 generated on 25 Aug 2019
112 Generated at Sun Aug 25 11:11:14 EDT 2019 by rlk
113
114 Features:
115 Build CUPS: yes, installing in /usr
116 Build CUPS 1.2 enhancements: yes
117 Build CUPS PPD files: no
118 Generate PS level 3 CUPS PPD files: yes
119 Build genppd statically: yes
120 Build CUPS dyesub USB backend: yes
121 Build EPSON inkjet utility: yes
122 Build enhanced Print plugin for GIMP: yes
123 GIMP plugin will be named: gutenprint
124 Install plugin(s) in home directory: no
125 Build test programs: yes
126 Build testpattern generator: yes
127
128 Installation summary:
129 Installation prefix: /usr/local
130 Exec prefix: /usr/local (${prefix})
131 Data directory: /usr/local/share/gutenprint
132 Library directory: /usr/local/lib64/gutenprint (${exec_prefix}/lib64/gutenprint)
133 Executable directory: /usr/local/bin (/usr/local/bin)
134 XML data directory: /usr/local/share/gutenprint/5.3/xml
135 Module directory: /usr/local/lib64/gutenprint/5.3/modules (${exec_prefix}/lib64/gutenprint/5.3/modules)
136 Install sample images: yes
137
138 General configuration:
139 Configure arguments: --enable-maintainer-mode
140 Compiler: gcc
141 Compiler Version: gcc version 7.4.1 20190725 [gcc-7-branch revision 273795] (SUSE Linux)
142 Compiler options: -Disfinite=finite -O3 -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wwrite-strings -Werror-implicit-function-declaration -Winline -Wformat=2 -finline-limit=131072 -Wformat -Werror=format-security -Wmissing-prototypes -D_POSIX_C_SOURCE=200809L -std=c99 -pedantic -Waggregate-return -Wcast-qual -Wshadow -Wredundant-decls
143 Build static libraries: yes
144 Build shared libraries: yes
145 Maintainer mode: yes
146 Use i18n: yes
147 Generate profiling information: no
148 Generate debugging symbols: no
149 Use modules: static
150 Use readline libraries: yes, extra arguments: -lncurses
151 uname -a output: Linux dsl092-065-009 4.12.14-lp151.28.13-default #1 SMP Wed Aug 7 07:20:16 UTC 2019 (0c09ad2) x86_64 x86_64 x86_64 GNU/Linux
152 ================================================================
153
154
155 The CUPS and GIMP components require that the appropriate packages
156 be installed on your system. Many distribution vendors separate
157 packages into runtime and development packages. The development
158 packages are required in order to successfully compile Gutenprint.
159 In many cases the configure script cannot detect whether these
160 development packages are installed, in which case you will get an
161 error during compilation. Also note that it is necessary for the
162 versions of the development packages to match exactly the versions
163 of the runtime packages they are related to.
164
165 PLEASE INSPECT THE OUTPUT CAREFULLY BEFORE PROCEEDING. If you
166 expect to build a particular component (particularly the CUPS
167 driver, CUPS backends, or enhanced Print plugin for GIMP), and
168 the configure output states that that component will not be built,
169 please make certain that you have the required development packages
170 installed, as described below in the sections for the particular
171 components.
172
173
174 ----------------
175
176 B) CORE DRIVER LIBRARY
177
178 The core driver library, which is always built, contains all of
179 the printer drivers comprising the Gutenprint package. When the
180 package is built, it consists of a core library (libgutenprint), a
181 set of XML files, and depending upon the options selected,
182 additional libraries containing the drivers for each family of
183 printers.
184
185 By default dynamically loadable modules (plug-ins) will be built
186 for the family drivers, and loaded at run-time if your operating
187 system supports it. If you experience problems,
188 --with-modules=dlopen or --with-modules=ltdl may be used to select
189 the module loading method (dlopen is the default, but GNU libltdl
190 is more portable), or --with-modules=static or --without-modules
191 disables them. If you wish to compile Gutenprint entirely
192 statically (with no use of shared libraries), you may use the
193 option --disable-shared.
194
195
196 ----------------
197
198 C) CUPS
199
200 Gutenprint is normally used as a driver under CUPS (Common UNIX
201 Printing System). Full description of CUPS is beyond the scope of
202 this README file; full information may be found at
203 http://www.cups.org. Gutenprint 5.3 requires CUPS 1.1.9 or
204 higher. We recommend use of 1.1.15 or above; that release of CUPS
205 fixes some important bugs. Gutenprint supports CUPS 1.2, and
206 supports the CUPS 1.2 enhancements, including dynamic PPD file
207 generation.
208
209 Gutenprint will fail to configure if the necessary CUPS
210 development packages are not installed. This is to protect users
211 against attempting to install newer versions of Gutenprint without
212 installing the CUPS development package. This results in an
213 installation that does not work with CUPS, which has created
214 confusion in the past.
215
216 Normally, you should install the CUPS development package, which
217 on most systems is "cups-devel", "cups-dev", or similar, using
218 your operating system's package manager.
219
220 If you really want to install Gutenprint without CUPS, you may run
221 configure with "--without-cups". This may be useful if you intend
222 to use only the Gutenprint plugin for GIMP, or you intend to use
223 the Gutenprint library to support a custom printing solution that
224 does not involve CUPS. However, for most users, simply running
225 configure --without-cups is not the correct course of action.
226
227 If Gutenprint thinks it has detected a correct installation of
228 CUPS, but that installation is in fact not correct, you will get
229 errors when you compile the package. The errors will typically
230 look like this; the important error is "cups/cups.h: No such file
231 or directory" (other ".h" files may also be missing, depending
232 upon the missing packages):
233
234 make[3]: Entering directory `/opt/gutenprint/gutenprint-5.3.0-pre2/src/cups'
235 gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include
236 -Wall -Wcast-align -Wstrict-prototypes -Wmissing-prototypes
237 -Wmissing-declarations -Wnested-externs -Wwrite-strings
238 -Werror-implicit-function-declaration -Winline -Wformat=2
239 -finline-limit=131072 -DCUPS_DRIVER_INTERFACE -DALL_LINGUAS='"cs da
240 de el en_GB es fr hu it ja nb nl pl pt sk sv zh_TW"'
241 -Disfinite=finite -O6 -MT gutenprint_5_3-genppd.o -MD -MP -MF
242 .deps/gutenprint_5_3-genppd.Tpo -c -o gutenprint_5_3-genppd.o
243 `test -f 'genppd.c' || echo './'`genppd.c
244 genppd.c:79:23: error: cups/cups.h: No such file or directory
245 genppd.c:80:25: error: cups/raster.h: No such file or directory
246 make[3]: *** [gutenprint_5_3-genppd.o] Error 1
247 make[3]: Leaving directory `/opt/gutenprint/gutenprint-5.3.0-pre2/src/cups'
248 make[2]: *** [all-recursive] Error 1
249 make[2]: Leaving directory `/opt/gutenprint/gutenprint-5.3.0-pre2/src'
250 make[1]: *** [all-recursive] Error 1
251 make[1]: Leaving directory `/opt/gutenprint/gutenprint-5.3.0-pre2'
252 make: *** [all] Error 2
253
254 Installing the CUPS driver for Gutenprint 5.3 will not interfere
255 with your ability to continue using the Gutenprint 5.2 or earlier
256 drivers.
257
258 WARNING: The "canon" and "epson" CUPS backends that previously
259 were distributed with Gutenprint are no longer distributed, so you
260 will need to ensure that none of your printer queues use these
261 backends. Please read the Critical Upgrade Note in the release
262 notes for more information and the procedure for modifying your
263 printer queues.
264
265 The Gutenprint CUPS driver consists of the following components:
266
267 * The core Gutenprint CUPS driver, rastertogutenprint.5.3. This
268 is a CUPS filter that converts CUPS raster data into
269 printer-specific data. This is most commonly installed in
270 /usr/lib/cups/filter.
271
272 * Additional utilities to send certain commands to these printers
273 are installed as commandtocanon and commandtoepson; they are
274 installed in /usr/lib/cups/filter.
275
276 * A custom backend, gutenprint53usb, to send data to certain dye
277 sublimation printers. Some dye sublimation printers use custom
278 USB protocols to send data to the printer and will not work with
279 the standard USB back end.
280
281 * One or more sets of PPD files describing all of the printers
282 supported by Gutenprint. These are normally installed in
283 /usr/share/cups/model/gutenprint. These PPD files can only be
284 used by the precise version of Gutenprint that they were built
285 with; for example, it is not possible to use PPD files from
286 Gutenprint 5.3.0-pre2 with Gutenprint 5.3.0.
287
288 If you are using CUPS 1.2 or above, these PPD files may not be
289 actually installed by default, depending upon your system.
290 Instead, a CUPS driver generates these PPD files on demand.
291
292 * A utility to update PPD files from an earlier release of
293 Gutenprint, cups-genppdupdate. This utility may be used to
294 update PPD files generated by earlier versions of Gutenprint
295 starting from 4.3.21, including any 5.0, 5.1, 5.2, or 5.3
296 release or pre-release. This is normally installed in
297 /usr/sbin. This utility cannot update PPD files from Gimp-Print
298 4.2.
299
300 * A utility to generate PPD files, cups-genppd.5.3. Normally this
301 is only required when the package is built, and only with CUPS
302 1.1.
303
304 * A driver to generate PPD files on the fly, gutenprint.5.3. This
305 is normally used to generate PPD files on the fly with CUPS 1.2
306 and above.
307
308 * A utility to permit additional color calibration for
309 Gutenprint-supported printers, cups-calibrate. This is normally
310 installed in /usr/bin.
311
312 WARNING: With certain versions of CUPS and in certain non-standard
313 configurations, if a new version of Gutenprint is installed
314 over an existing version genppd will create PPD files based on
315 the older version of Gutenprint rather than the newer version.
316 This will happen if all of the following are true:
317
318 i) The cups-config provided by the CUPS driver adds
319 -Wl,rpath=/usr/lib (or wherever the CUPS system libraries
320 live). This is done by some versions of CUPS reportedly
321 because in some cases the runtime linker does not pick up
322 libraries out of /usr/lib. This can be checked by running
323
324 cups-config --libs --ldflags
325
326 and inspecting the output for any mention of "rpath",
327 "RPATH", "RUN_PATH", or the like. This is controlled by
328 the CUPS installation on your system.
329
330 ii) There is presently a version of Gutenprint installed in
331 the system default, typically /usr (--prefix=/usr) rather
332 than /usr/local or the like. The default location of
333 Gutenprint installation is in /usr/local, but system
334 vendors typically install Gutenprint in /usr.
335
336 iii) Gutenprint is built dynamically only (--disable-static or
337 --disable-static-genppd). This is not standard, and
338 requires the explicit --disable-static or
339 --disable-static-genppd on the Gutenprint "configure"
340 command line. Therefore, if you build Gutenprint normally
341 you should not be vulnerable to this problem.
342
343 iv) Gutenprint is configured to build the PPD files at compile
344 time. This is the case when using CUPS 1.1, but is not the
345 case when using CUPS 1.2 unless you explicitly use
346 --enable-cups-ppds.
347
348 Note that in general if you install CUPS into a non-standard
349 location, and install Gutenprint into the same location, this
350 problem can surface. For example, if you choose to install
351 CUPS in /usr/local and Gutenprint in /usr/local you are
352 vulnerable to this. However, it is not standard practice to
353 install CUPS anywhere but /usr.
354
355 In this case, the run path embedded in the genppd executable
356 points to the version of Gutenprint installed in /usr/lib.
357 This run path overrides any attempt by libtool to look in the
358 build directory. The result is that cups-genppd and
359 rastertogutenprint are run against the older version of
360 Gutenprint. If the new version contains additional features
361 (more printers, changes to printer options, etc.) they will
362 not be available.
363
364 This bug is difficult to detect in a normal build. It
365 normally does not cause an error to happen during build unless
366 there is an API change from the version installed and the
367 version being built; the only failure is frequently that some
368 PPD files may not be built or may be built with missing
369 options. Due to the PPD version checking introduced in this
370 release, the behavior might manifest itself as a runtime
371 error. It is also possible that there will be no error at all
372 other than the older version of Gutenprint being used, with
373 the result that new features and bug fixes are not available.
374
375 If you wish to use only shared libraries, do not wish to build
376 static libraries at all, and are vulnerable to this issue
377 (because cups-config --ldflags sets the run path), there are
378 three workarounds available:
379
380 i) Build and install Gutenprint into /usr (rather than
381 /usr/local) and then rebuild Gutenprint from scratch. This
382 will install the correct libgutenprint.so in /usr/lib, and
383 in the rebuild genppd will be run against the correct
384 library.
385
386 ii) Remove the old version of Gutenprint prior to building the
387 new version of Gutenprint. The important files to remove
388 are anything named /usr/lib/libgutenprint*.
389
390 iii) Edit cups-config to remove the reference to the run path.
391
392 Following installation of the package with "make install", you
393 must restart CUPS to permit CUPS to see the new PPD files. The
394 exact command to restart CUPS varies; it is typically something
395 like systemctl restart cups (which will be the case on most modern
396 Linux systems), /etc/init.d/cups restart,
397 /etc/software/init.d/cups restart, /etc/rc.d/cups restart,
398 /usr/sbin/rccups, or even /etc/rc.d/init.d/cups restart.
399
400 You may optionally choose to update your existing PPD files using
401 the command cups-genppdupdate, after which you should restart CUPS
402 as described above. We strongly recommend use of this update
403 procedure, which is fast and simple. This script will
404 automatically update Gutenprint PPD files from earlier versions of
405 Gutenprint 5.3. It will not at present automatically upgrade PPD
406 files from Gutenprint 5.0, 5.1, or 5.2; if you want to do so, you
407 need to run cups-genppdupdate -x. This allows you to continue
408 running older versions of Gutenprint concurrently with Gutenprint
409 5.3. This script cannot update PPD files from Gimp-Print 4.2 or
410 non-Gutenprint PPD files.
411
412 The following options to configure are available for compiling the
413 Gutenprint driver for CUPS:
414
415 --enable-cups-ppds
416
417 With CUPS 1.2, it is possible to arrange for PPD files to be
418 generated when a new printer queue is generated rather than
419 having all pre-generated PPD files in the filesystem. This
420 saves considerable disk space and avoids the possible build
421 problem described above. Normally, Gutenprint detects which
422 version of CUPS is in use and configures itself to create the
423 PPD files at build time only when CUPS 1.1 is in use.
424
425 If you wish to generate the PPD files at build time, you may
426 use this option. If you are running CUPS 1.1, and for some
427 reason do not wish to generate the PPD files, you may use
428 --disable-cups-ppds.
429
430 --disable-translated-cups-ppds
431
432 By default, PPD files for all languages available in
433 Gutenprint are created. If this option is used, only the
434 default (US-English) PPD files are created. Distributors may
435 wish to package up the PPD files separately for each language.
436
437 Some systems may not build the translated PPD files correctly,
438 in which case all of the PPD files will be in English. If
439 this is the case on your system, you should use
440 --disable-translated-cups-ppds to avoid having many duplicate
441 PPD files.
442
443 --disable-globalized-cups-ppds
444
445 Starting with Gutenprint 5.2, Gutenprint builds PPD files
446 containing translations for all languages if CUPS 1.2 or above
447 is in use. This greatly reduces the number of PPD files
448 created or PPD file choices offered.
449
450 If you have problems with the globalized PPD files, you may
451 use this option to generate standard translated PPD files (or
452 English-only, if --disable-translated-cups-ppds is also in
453 use). This option only has effect if --enable-cups-ppds is
454 used.
455
456 --enable-simplified-cups-ppds
457
458 Gutenprint 5.3 offers an option of creating simplified PPD
459 files (containing only basic options and standard paper sizes)
460 in addition to PPD files offering all available options
461 (including all color correction options). If this option is
462 used, both the simplified and standard PPD files are created.
463 If --enable-simplified-cups-ppds=only is specified, only the
464 simplified PPD files are built.
465
466 If the new dynamic PPD file generation is used with CUPS 1.2,
467 the simplified PPD files are always offered.
468
469 --disable-cups-level3-ppds
470
471 By default, the Gutenprint PPD files are configured for
472 PostScript Level 3. If this option is used, Level 2 PPD files
473 are created. This may be useful if you are using a version of
474 CUPS older than 1.1.15. It is normally not necessary to use
475 this explicitly, as the configure script detects the version
476 of CUPS in use and selects the appropriate PostScript level
477 automatically.
478
479 --disable-cups-ppds-at-top-level
480
481 Normally, the PPD files are placed in
482 /usr/share/cups/model/gutenprint/5.3. If this option is used,
483 the PPD files are placed in /usr/share/cups/model. There is
484 normally no good reason to use this option.
485
486 --disable-static-genppd
487
488 Build genppd and rastertogutenprint dynamically linked rather
489 than statically linked. WARNING: Use of this option may lead
490 to failure during build or installation, or incorrect
491 installation. It is *STRONGLY* recommended that you not use
492 this option unless you are certain that you understand the
493 problem and how to work around it.
494
495 ----------------
496
497 D) CUPS dye-sublimation backend
498
499 A new CUPS backend was added to support specific dye-sublimation USB
500 printers that require a special communications protocol. This backend is
501 called 'gutenprint53+usb' and currently supports the models listed below.
502 If you do not have a printer on this list, you may skip the remainder
503 of this section.
504
505 Canon SELPHY ES series
506 Canon SELPHY CP series
507 Ciaat Brava 21
508 Citizen CW-01 / Olmec OP900
509 Citizen CW-02 / OP900II
510 DNP DS40 / Citizen CX
511 DNP DS80 / Citizen CX-W
512 DNP DS80DX
513 DNP DS-RX1 / DS-RX1HS / Citizen CY / CY-02
514 DNP DS480
515 DNP DS680
516 DNP DS620 / DS620A / Citizen CX-02
517 DNP DS820 / DS820A / Citizen CX-02W
518 DNP QW410 / Citizen CZ-01
519 Fujifilm ASK-300
520 Fujifilm ASK-2000
521 Fujifilm ASK-2500
522 Fujifilm ASK-4000
523 HiTi P310/P322 series
524 HiTi P461 Prinhome
525 HiTi P510 series
526 HiTi P520L / P525L
527 HiTi P630 series
528 HiTi P720L / P750L
529 Joyspace U826
530 Kodak Professional 1400
531 Kodak 305 Photo Printer
532 Kodak 605 Photo Printer
533 Kodak 805 Photo Printer
534 Kodak 6800 Photo Printer
535 Kodak 6850 Photo Printer
536 Kodak 7000 Photo Printer
537 Kodak 8800 Photo Printer
538 Kodak 8810 Photo Printer
539 Kodak 9810 Photo Printer
540 Mitsubishi CP30D
541 Mitsubishi CP-3800DW
542 Mitsubishi CP-9550D/DW/DW-S/DZ/DZ-S
543 Mitsubishi CP-9600D/DW
544 Mitsubishi CP-M1A / CP-M1E / CP-M15
545 Mitsubishi CP-9800DW/DW-S
546 Mitsubishi CP-9810DW
547 Mitsubishi CP-K60DW-S
548 Mitsubishi CP-D70DW / CP-D707DW
549 Mitsubishi CP-D70DW-S and P-D707DW-S
550 Mitsubishi CP-D80DW
551 Mitsubishi CP-D90DW / CP-D90DW-SL
552 Mitsubishi CP-W5000DW
553 Mitsubishi P93DW
554 Mitsubishi P95DW
555 Shinko CHC-S1245 (aka Sinfonia E1)
556 Shinko CHC-S2145 (aka Sinfonia S2)
557 Shinko CHC-S6145 (aka Sinfonia CS2)
558 Shinko CHC-S6245 (aka Sinfonia CE1)
559 Sinfonia S3
560 Sony UP-CR10L / DNP DS-SL10
561 Sony UP-CX1
562 Sony UP-DR150
563 Sony UP-DR200
564 Sony UP-D711MD
565 Sony UP-DR80MD
566 Sony UP-D895
567 Sony UP-D897
568 Sony UP-D898
569 Sony UP-D971AD
570 Sony UP-D991AD
571 Stryker SDP1000
572 Swiftfoto KSF-10R
573
574 Although these printers advertise themselves as standard USB Printer
575 Class devices, they do not actually obey those specifications, and
576 require two-way handshaking in order to successfully print.
577
578 Over time, it is expected that additional printer models will be
579 supported by this backend; this list only includes ones that are
580 known to work.
581
582 NOTE: If you are upgrading from 5.2.9 (or earlier) and using one of
583 the following models, you will need to remove and re-create your
584 printer queue:
585
586 Canon SELPHY ES series (All models)
587 Canon SELPHY CP series (All models)
588 DNP DS40
589 DNP DS80
590 Sony UP-DR150
591
592 Build Requirements
593
594 This backend requires libusb (or libusbx) 1.0 or newer.
595
596 CUPS Integration
597
598 If you are using up-to-date versions of CUPS (1.6.4 or newer) on
599 Linux, then your system will automatically select this backend if
600 the you plug in one of its supported printers. No further intervention
601 on the your part should be necessary.
602
603 Unfortunately, if you are using an older version of CUPS or a
604 non-Linux system then you will probably need to manually configure
605 the use of this backend because the system may attempt to use the
606 default usb backend, which will not work properly with these
607 printers.
608
609 To check which backend your printers are using, run the 'lpstat
610 -s' command. Below is an example of its output:
611
612 device for Canon_SELPHY_ES1: gutenprint53+usb://Canon/SELPHY%20ES1?serial=221CD10131&backend=canonselphy
613 device for Canon_SELPHY_ES3: usb://Canon/Canon%20SELPHY%20ES3
614
615 In this example, the SELPHY ES1 is using the correct gutenprint
616 backend, but the ES3 is using the incorrect 'usb' backend. In
617 order for the ES3 to function properly, you need to configure it
618 to use the correct backend.
619
620 The most expedient way to accomplish this is to remove the printer
621 via your system's printer configuration interface, then manually
622 add a new one, taking care to select the correct backend
623 ("gutenprint53+usb"). This backend name is present in the device
624 URI for the printer, as demonstrated in the above example. An
625 alternative to the system printer configuration interface is to
626 use your local system's CUPS web interface, if it is enabled.
627 Step-by-step instructions for using any of these interfaces is
628 beyond the scope of this document.
629
630 Once the printer is properly configured, this backend will be
631 automatically invoked as needed; you will never invoke the backend
632 directly.
633
634 Note on Use of Multiple Printers of the Same Model
635
636 If you do not use (and do not intend to use) more than one printer of
637 the same model connected via USB to one computer, you may skip this
638 section.
639
640 If you have more than one printer connected to a computer (via
641 separate queues), CUPS inspects each printer to determine which
642 printer is attached to which queue. Most printers provide a
643 serial number, which is different for each individual printer, to
644 determine which unique printer is which. Unfortunately, certain
645 printers do not provide this serial number, so CUPS cannot
646 uniquely identify each printer.
647
648 To determine if your printer model is affected, you should inspect the
649 CUPS queue URI, specifically the "serial=" portion. If the serial is
650 NONE_UNKNOWN, it indicates that the printer does not report a serial
651 number and so CUPS cannot uniquely that printer, if more than one of
652 that type is plugged in.
653
654 For example, a device URI of
655
656 gutenprint53+usb://Canon/SELPHY+ES1?serial=221CD10131&backend=canonselphy
657
658 has a proper serial number (221CD10131), and CUPS can uniquely
659 identify the printer.
660
661 A device URI of
662
663 gutenprint53+usb://Canon/CP-10?serial=NONE_UNKNOWN&backend=canonselphy
664
665 indicates that the printer does not report a valid serial number,
666 so that CUPS cannot uniquely identify the printer if there are
667 two or more Canon CP-10 printers attached.
668
669 If you attach more than one of any one of these printer models to
670 the same computer (such as two Canon CP-10 printers), you may
671 experience incorrect behavior, including:
672
673 * Printing (or attempting to print) to a printer other than
674 the desired one
675 * Failing to print a particular job at all
676 * Inability to create a queue for each printer
677 * Attempt to create a queue that already exists
678
679 Note on the Shinko CHC-S2145
680
681 The Shinko CHC-S2145 does not report a serial number in the traditional
682 sense; instead it reports a user identification string, which the backend
683 will use if one is configured.
684
685 The backend supports configuring this user identification string.
686 To do so, first disconnect all other Shinko CHC-S2145 printers from the
687 system, and then connect each printer individually, and run the
688 following command. Please ensure that the text you choose for each
689 printer is different.
690
691 /usr/lib/cups/backend/gutenprint53+usb -B shinkos2145 -U "sometext"
692
693 After changing the user string, you will need to remove and re-create
694 the CUPS queue.
695
696 ----------------
697
698 E) ESCPUTIL
699
700 "escputil" is a command line utility for administering Epson
701 inkjet printers. It performs head alignment, retrieval of ink
702 levels and status information, printing of test patterns, etc. It
703 is built and installed by default; if you don't want it, you may
704 use --without-escputil when configuring.
705
706 escputil uses the readline package for interactive commands
707 (currently only head alignment falls into this category). Linking
708 against libreadline sometimes requires linking against other
709 packages. Gutenprint attempts to determine the correct packages
710 to link against; the exact sequence is described in the release
711 notes. If you do not wish to use readline, you may use
712 --without-readline.
713
714
715 ----------------
716
717 F) GIMP
718
719 Gutenprint may be used as an enhanced Print plug-in for GIMP (2.0
720 and above), providing the ability to print images. Please read
721 the release notes in addition to this README.
722
723 The enhanced Print plugin for GIMP replaces the Gimp-Print
724 4.2-based plugin provided with GIMP 2.0 and 2.2. As of the GIMP
725 2.4, GIMP team provides a new Print plugin based on the GtkPrint
726 framework. This plugin provides standard printing capabilities,
727 but does not provide all of the new Gutenprint 5.3 features.
728 Therefore, the enhanced Print plugin for GIMP distributed with
729 Gutenprint does not replace that plugin, but is installed
730 alongside that plugin.
731
732 If your system separates development packages from runtime
733 packages, you will typically have to install development packages
734 for GIMP itself, in addition to Gtk and Glib. With GIMP 2.x and
735 GTK 2.x, additional packages may be required (typically gimp-devel
736 on RPM-based distributions or libgimp2.0-dev on Debian-based
737 ones). Failure to install these packages will lead to errors when
738 the package is compiled. The errors will typically look like
739 this; the important errors are the ones "No such file or
740 directory".
741
742 make[3]: Entering directory `/opt/gutenprint/gutenprint-5.3.0-pre2/src/gimp2'
743 gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include
744 -Wall -Wcast-align -Wstrict-prototypes -Wmissing-prototypes
745 -Wmissing-declarations -Wnested-externs -Wwrite-strings
746 -Werror-implicit-function-declaration -Winline -Wformat=2
747 -finline-limit=131072 -Disfinite=finite -O6 -MT print-image-gimp.o
748 -MD -MP -MF .deps/print-image-gimp.Tpo -c -o print-image-gimp.o
749 print-image-gimp.c
750 In file included from print-image-gimp.c:30:
751 print_gimp.h:36:21: error: gtk/gtk.h: No such file or directory
752 print_gimp.h:37:26: error: libgimp/gimp.h: No such file or directory
753 print_gimp.h:38:28: error: libgimp/gimpui.h: No such file or directory
754 make[3]: *** [print-image-gimp.o] Error 1
755 make[3]: Leaving directory `/opt/gutenprint/gutenprint-5.3.0-pre2/src/gimp2'
756 make[2]: *** [all-recursive] Error 1
757 make[2]: Leaving directory `/opt/gutenprint/gutenprint-5.3.0-pre2/src'
758 make[1]: *** [all-recursive] Error 1
759 make[1]: Leaving directory `/opt/gutenprint/gutenprint-5.3.0-pre2'
760 make: *** [all] Error 2
761
762 If this happens, you will need to re-run configure after
763 installing these packages.
764
765 Normally, the Gutenprint configure script detects which version,
766 if any, of GIMP is installed and builds an appropriate plugin. If
767 the configure script does not detect it properly, you may need to
768 specify --with-gimp or --with-gimp2. However, it's more likely
769 that you need to install appropriate development packages.
770
771 Normally Gutenprint installs GIMP Print plugin in your system
772 plug-in directory. If you wish to install it in your personal
773 plugin directory, you may use
774
775 ./configure --enable-user-install
776
777 It is not possible for Gimp-Print 4.2, Gutenprint 5.0, Gutenprint
778 5.2, and Gutenprint 5.3 (or any future release) to coexist in the
779 same installation of GIMP. The Gutenprint 5.3-based plugin can
780 read settings from previous versions of Gutenprint and Gimp-Print,
781 but the configuration file format in Gutenprint 5.3 cannot be read
782 by older versions of Gimp-Print or Gutenprint.
783
784
785 ================================================================
786
787 III) GETTING STARTED
788
789 This section describes how to get started by installing printers
790 under Gutenprint. Please see the user's manual (in
791 doc/gutenprint-users-manual.odt or
792 doc/gutenprint-users-manual.pdf) for more information.
793
794 ----------------
795
796 A) PRINTER INSTALLATION
797
798 The actual procedure to install a printer depends upon your
799 operating system.
800
801 Gutenprint does not normally require the use of non-standard
802 procedures (such as starting special programs) to install
803 printers. Assuming that you are using CUPS, it integrates with
804 your printing system, so the tools provided by your distribution
805 vendor should work correctly with Gutenprint.
806
807 CUPS uses PPD files to describe printer capabilities. Some
808 printers are supported by more than one driver, so you may find
809 more than one PPD file for your printer. Gutenprint PPD files are
810 described as
811
812 Epson Stylus Photo R300 - CUPS+Gutenprint v5.3.0-pre2
813 Epson Stylus Photo R300 - CUPS+Gutenprint v5.3.0-pre2 Simplified
814
815 The "simplified" PPD files offer a basic set of options only, for
816 selecting printer options, standard paper sizes, and basic quality
817 settings. The PPD files that are not "simplified" offer a much
818 broader set of controls, giving the user extensive control over
819 quality and color adjustment.
820
821 Other PPD files are described differently, such as
822
823 EPSON New Stylus Color Series CUPS v1.1 (recommended)
824
825 These PPD files, whether "recommended" or not, are not Gutenprint
826 PPD files.
827
828 NOTES FOR CUPS USERS:
829
830 If you do not choose to automatically update existing PPD files,
831 you should reinstall any printer queues that you are using
832 Gutenprint PPD files with. The Gutenprint driver and the PPD
833 files must be kept in sync, since the PPD files reflect the
834 particular version of the driver that they were built against. If
835 you attempt to use a version of Gutenprint with PPD files not
836 built for that precise version, the driver will fail with a
837 diagnostic error message. For example, PPD files built for
838 Gutenprint 5.3.0-pre2 will not work with driver version 5.3.0.
839 You can identify printers using Gutenprint PPD files by the name
840 of the PPD file, which will be something like:
841
842 EPSON Stylus Photo EX - CUPS+Gutenprint v5.3.0-pre2(en)
843
844 Linux users please note: If you are using CUPS 1.1.11 or higher,
845 and you have a USB-connected printer, you must have a printer
846 connected to each USB port that you plan to use and powered on
847 when you restart CUPS. If you do not do so, you will not be able
848 to reinstall the printer. It is only necessary to do this if you
849 wish to update PPD files manually; if you use cups-genppdupdate,
850 you do not need to do this.
851
852 Starting with CUPS 1.1.11, you cannot choose an AppSocket
853 connection and enter "usb:/dev/usblp0" or the like as the URI; you
854 will get a "client-error-not-possible" error at the end of the
855 installation process, and you will have a message like the
856 following in your CUPS error log (typically
857 /var/log/cups/error_log):
858
859 E [21/Nov/2001:17:59:07 +0500] add_printer: bad device-uri attribute 'usb:/dev/usb/lp0'!
860
861 If the printer was turned on correctly, you will be given a choice
862 of a USB connection in the Device dialog.
863
864 You may also have problems if you have a .lpoptions file that has
865 old options set. If you have problems printing, please remove any
866 existing .lpoptions file in your home directory and try printing
867 again.
868
869 ================================================================
870
871 IV) SOLVING PROBLEMS
872
873 While we have attempted to make use of Gutenprint as
874 straightforward and trouble-free as possible, we certainly
875 recognize that there may be problems with installing and using
876 Gutenprint. In the event of any difficulty, we ask that you take
877 the following actions:
878
879 1) Read the release notes (NEWS).
880
881 2) Read the FAQ, in doc/FAQ.html. Your question may be answered
882 there.
883
884 3) Make sure that the paper type and size, and media source, that
885 you have selected matches the paper loaded into the printer.
886 This is only necessary if the printer attempts to print, but
887 does not succeed. It is a good starting point if quality is
888 poor (too dark or too light, wet ink on the paper, etc.).
889
890 4) Reset all settings (particularly the color and quality
891 settings) to their defaults.
892
893 5) If you are using CUPS, search /var/log/cups/error_log (which
894 may be located elsewhere on some systems) for lines starting
895 with 'E' (these lines indicate errors). Also search for log
896 information produced by Gutenprint; all such output lines will
897 contain "Gutenprint". These lines may help you solve the
898 problem and will help us investigate your problem if necessary.
899
900 6) If you are using CUPS, enable debugging output. This can be
901 done by editing /etc/cups/cupsd.conf (which must be done as
902 root). There will be a line in that file:
903
904 LogLevel Info
905
906 which should be changed to
907
908 LogLevel Debug
909
910 This will allow CUPS to produce extensive debugging output.
911 You will need to restart CUPS (the exact procedure is
912 system-dependent) after doing this. If you report a problem to
913 the Gutenprint team, you will be asked for this information.
914
915 7) There are public forums on Sourceforge dedicated to this
916 package. Please see
917 http://sourceforge.net/forum/?group_id=1537 for more
918 information. The Help forum is a good source of information.
919
920 8) If you have a technical support issue that does not appear to
921 be a bug in the software, you can use the Tech Support Manager.
922 Please see http://sourceforge.net/support/?group_id=1537.
923
924 9) If you have found a clear bug in the package, you may file a
925 bug report at http://sourceforge.net/bugs/?group_id=1537.
926
927 10) You may send mail to the [email protected]
928 mailing list. This is recommended as a last resort only.
929
930 ================================================================
931
932 V) USE OF THE GIT REPOSITORY
933
934 Please read doc/README.maintaining for instructions on how to
935 build from the GIT repository. You will need additional packages
936 and tools for this purpose.