Gutenprint-5.2.12

Introduction to Gutenprint

The Gutenprint (formerly Gimp-Print) package contains high quality drivers for many brands and models of printers for use with Cups-2.2.2 and the GIMP-2.0. See a list of supported printers at http://gutenprint.sourceforge.net/p_Supported_Printers.php.

This package is known to build and work properly using an LFS-8.0 platform.

Package Information

Gutenprint Dependencies

Recommended

Recommended (at runtime)

Optional (to Regenerate Documentation)

ImageMagick-7.0.4-8, texlive-20160523b (or install-tl-unx), Doxygen-1.8.13, and DocBook-utils-0.6.14

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/gutenprint

Kernel Configuration

If you intend to use escputil with a USB-connected Epson Stylus printer for commands such as --ink-level which need to access the raw device, you must enable the kernel's usblp driver. Enable the following options in your kernel configuration and recompile the kernel:

Device Drivers  --->
  [*] USB support  --->                          [CONFIG_USB_SUPPORT]
    <*/M>  OHCI HCD (USB 1.1) support            [CONFIG_USB_OHCI_HCD]
    <*/M>  UHCI HCD (most Intel and VIA) support [CONFIG_USB_UHCI_HCD]
    <*/M>  USB Printer support                   [CONFIG_USB_PRINTER]

Installation of Gutenprint

Install Gutenprint by running the following commands:

sed -i 's|$(PACKAGE)/doc|doc/$(PACKAGE)-$(VERSION)|' \
       {,doc/,doc/developer/}Makefile.in &&

./configure --prefix=/usr --disable-static &&

make

To test the results, issue: make check. The tests take a very long time and use a lot of disk space. When last tested (version 5.2.12 in February 2017) this needed 126 SBU and 13 GB to complete the two tests (the ppds test used a maximum of 2 CPUs and reported failures from missing translations, perhaps because genppd is not part of the default configure, the longer rastertogutenprint test succeeded but only ever used one CPU).

Now, as the root user:

make install &&
install -v -m755 -d /usr/share/doc/gutenprint-5.2.12/api/gutenprint{,ui2} &&
install -v -m644    doc/gutenprint/html/* \
                    /usr/share/doc/gutenprint-5.2.12/api/gutenprint &&
install -v -m644    doc/gutenprintui2/html/* \
                    /usr/share/doc/gutenprint-5.2.12/api/gutenprintui2

Command Explanations

sed -i '...' ...Makefile.in: This command is used so that the package documentation is installed in the conventional /usr/share/doc directory structure instead of /usr/share/gutenprint/doc.

--disable-static: This switch prevents installation of static versions of the libraries.

Configuring Gutenprint

Configuration Information

For CUPS to see newly installed print drivers, it has to be restarted (as the root user):

/etc/rc.d/init.d/cups restart

Then point your web browser to http://localhost:631/ to add a new printer to CUPS.

Contents

Installed Programs: cups-calibrate, cups-genppd.5.2, cups-genppdupdate, escputil, ijsgutenprint.5.2 (if compiled using ijs), and testpattern
Installed Libraries: libgutenprint.so, libgutenprintui2.so and optionally, various CUPS filters and backend drivers under /usr/lib/gutenprint/5.2/modules/
Installed Directories: /usr/{include,lib,share}/gutenprint, /usr/include/gutenprintui2 and /usr/share/doc/gutenprint-5.2.12

Short Descriptions

cups-calibrate

calibrates the color output of printers using the Gutenprint, CUPS or ESP Print Pro drivers.

cups-genppd.5.2

generates Gutenprint PPD files for use with CUPS.

cups-genppdupdate

regenerates the Gutenprint PPD files in use by CUPS.

escputil

is a command line utility to perform various maintenance tasks on Epson Stylus inkjet printers.

ijsgutenprint.5.2

is a Ghostscript driver for HP InkJet and LaserJet printers.

testpattern

is a test program to learn how to use libgutenprint.

Last updated on 2017-02-19 14:24:01 -0800