Gutenprint-5.2.7
Installation of Gutenprint
Install Gutenprint by running the
following commands:
sed -i '/#include <ctype.h>/a\#include <stdio.h>' \
src/cups/commandtocanon.c src/cups/commandtoepson.c &&
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. When last tested (version 5.2.7, LFS-7.1, on
a uniprocessor box which is admittedly short of memory) this took
more than 800 SBUs (more than two days for that box) and used an
extra 678 MB of disk space.
Now, as the root user:
make install &&
install -v -m755 -d /usr/share/doc/gutenprint-5.2.7/api/gutenprint{,ui2} &&
install -v -m644 doc/gutenprint/html/* \
/usr/share/doc/gutenprint-5.2.7/api/gutenprint &&
install -v -m644 doc/gutenprintui2/html/* \
/usr/share/doc/gutenprint-5.2.7/api/gutenprintui2
Command Explanations
sed -i '/#include
<ctype.h>/a\#include <stdio.h>' ...:
the include files from the current version of cups no longer include stdio.h when compiling this version of
gutenprint on linux, causing the
build to fail.
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
the static libraries being installed.
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,
libgutenprintui2.so and optionally, various CUPS filters and backend drivers
Installed Directories:
/usr/include/gutenprint,
/usr/lib/gutenprint, /usr/share/doc/gutenprint-5.2.7 and
/usr/share/gutenprint
Short Descriptions
|
cups-calibrate
|
calibrates the color output of printers using the
Gutenprint, CUPS or ESP Print Pro drivers.
|
|
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.
|
Last updated on 2012-04-13 14:14:38 +0000