Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41430 - cannot print because ghostscript-7.07.1-r1 hardcodes --without-gimp-print
Summary: cannot print because ghostscript-7.07.1-r1 hardcodes --without-gimp-print
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: All All
: High normal
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-12 15:49 UTC by Dominik Stadler (RETIRED)
Modified: 2004-02-12 22:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dominik Stadler (RETIRED) gentoo-dev 2004-02-12 15:49:38 UTC
I tried to setup printing with my Epson Stylus CX5400 (supported by either Epson Stylus C84 or C80) using CUPS and gimp-print, but every time I wanted to print a test-page, I got an error message in the debug-cups-output saying "Unknown device: stp". 

After some digging I discovered that this is coming from the ghostscript application gs. The ebuild conbtains the line:

    myconf="--with-ijs --with-omni --without-gimp-print"

which always exludes support for the gimp-print/stp-driver, which is needed for printing through CUPS and gimp-print.

Itried to manually change the ebuild to use "--with-gimp-print", then printing works fine!

I'm not sure if --with-gimp-print should be specified all the time or only if USE="cups" or with an additional USE="gimpprint" (which is already used by gimp).
Comment 1 Dominik Stadler (RETIRED) gentoo-dev 2004-02-12 16:00:48 UTC
Doing some more research it seems that --with-gimp-print was in the ebuild for version 7.05:

	./configure \
		--prefix=/usr \
		--mandir=/usr/share/man \
		--with-gimp-print \

But then in 7.05.5 it got dependend on USE="X"

	use X && myconf="${myconf} --with-x --with-gimp-print" \
		|| myconf="${myconf} --without-x --without-gimp-print" 

And finally in 7.05.6-r3 it became --without, see http://www.gentoo.org/cgi-bin/viewcvs.cgi/*checkout*/app-text/ghostscript/Attic/ghostscript-7.05.6-r3.ebuild?rev=1.1

So I am no sure why it is now this way, it seems that some people had problems with it, but now I definitely could solve my printing-problems by adding gimp-print again!


emerge --info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040207-r0, 2.4.24-ck1)
=================================================================
System uname: 2.4.24-ck1 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.4.3.13
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/kde/cvs/share/config /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://gentoo.inode.at/source/ http://gentoo.inode.at/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aalib acpi acpi4linux alsa apm arts avi berkdb bonobo caps cdr clamav crypt cups curl dga dvd encode esd foomaticdb foreign-package foreign-sysvinit freetype fs gdbm gif gimpprint gnome gphoto2 gpm gtk gtk2 gtkhtml imagemagick imlib jack java jpeg junit kde libg++ libwww linguas_de mad maildir mbox mikmod mmx motif mozilla moznomail mpeg mpi mysql ncurses nls nocardbus oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline ruby scanner sdl slang spell sse ssl svga tcltk tcpd tiff truetype type1 usb wmf x86 xml xml2 xmms xv zlib"
Comment 2 Heinrich Wendel (RETIRED) gentoo-dev 2004-02-12 22:22:54 UTC
there are two different driver versions for each printer in gimp-print. a stp version and an ijs version. please use the ijs version.