I have a Brother HL5140 Laserprinter that works with Cups + Foomatic and the hl1250 ppd from Foomatic (This ppd is recommended for HL5040 and my printer is the successor) - but only with "normal" ghostscript, with ghostscript-afpl it doesn`t even print the CUPS test page. Reproducible: Always Steps to Reproduce: 1.unmerge ghostscript, cups and all foomatic stuff (4 ebuilds) 2.emerge ghostcript-afpl, then cups and foomatic again 3.configure a new printer and try to print the testpage Actual Results: all print jobs are aborted (including CUPS test page) Expected Results: printing should work with ghostscript-afpl, too - no aborted jobs CUPS-Version: net-print/cups-1.1.23-r1 -debug +nls +pam -samba -slp +ssl Ghostscript-AFPL: app-text/ghostscript-afpl-8.15 +X -cjk +cups -gtk The last lines in the error_log file from Cups in debug mode are: D [23/Feb/2005:23:25:03 +0100] [Job 6] New page: 1 1 D [23/Feb/2005:23:25:03 +0100] [Job 6] Inserting option code into "PageSetup" section. D [23/Feb/2005:23:25:03 +0100] [Job 6] No page header or page header not DSC-conforming D [23/Feb/2005:23:25:03 +0100] [Job 6] Stopping search for page header options D [23/Feb/2005:23:25:03 +0100] [Job 6] Found: D [23/Feb/2005:23:25:03 +0100] [Job 6] pageHeight sub % Move down... D [23/Feb/2005:23:25:03 +0100] [Job 6] --> Output goes directly to the renderer now. D [23/Feb/2005:23:25:03 +0100] [Job 6] D [23/Feb/2005:23:25:03 +0100] [Job 6] D [23/Feb/2005:23:25:03 +0100] [Job 6] Starting renderer D [23/Feb/2005:23:25:03 +0100] [Job 6] JCL: 2345X@PJL D [23/Feb/2005:23:25:03 +0100] [Job 6] @PJL SET MEDIATYPE=REGULAR D [23/Feb/2005:23:25:03 +0100] [Job 6] <job data> D [23/Feb/2005:23:25:03 +0100] [Job 6] 2345X@PJL RESET D [23/Feb/2005:23:25:03 +0100] [Job 6] D [23/Feb/2005:23:25:03 +0100] [Job 6] renderer PID kid4=18206 D [23/Feb/2005:23:25:03 +0100] [Job 6] renderer command: gs -q -dBATCH -dPARANOIDSAFER -dNOPAUSE -sDEVICE=hl1250 -dEconoMode=0 -dSourceTray=0 -sOutputFile=- - D [23/Feb/2005:23:25:03 +0100] [Job 6] foomatic-gswrapper: gs '-dBATCH' '-dPARANOIDSAFER' '-dNOPAUSE' '-sDEVICE=hl1250' '-dEconoMode=0' '-dSourceTray=0' '-sOut putFile=| cat >&3' '/dev/fd/0' 3>&1 1>&2 D [23/Feb/2005:23:25:03 +0100] [Job 6] GPL Ghostscript 8.15 (2004-09-22) D [23/Feb/2005:23:25:03 +0100] [Job 6] Copyright (C) 2004 artofcode LLC, Benicia, CA. All rights reserved. D [23/Feb/2005:23:25:03 +0100] [Job 6] This software comes with NO WARRANTY: see the file PUBLIC for details. D [23/Feb/2005:23:25:03 +0100] [Job 6] Unknown device: hl1250 D [23/Feb/2005:23:25:03 +0100] [Job 6] renderer return value: 1 D [23/Feb/2005:23:25:03 +0100] [Job 6] renderer received signal: 1 D [23/Feb/2005:23:25:03 +0100] [Job 6] tail process done writing data to STDOUT D [23/Feb/2005:23:25:03 +0100] [Job 6] KID4 finished D [23/Feb/2005:23:25:03 +0100] [Job 6] D [23/Feb/2005:23:25:03 +0100] [Job 6] Closing renderer D [23/Feb/2005:23:25:03 +0100] [Job 6] KID4 exited with status 0 D [23/Feb/2005:23:25:03 +0100] [Job 6] KID3 exited with status 3 D [23/Feb/2005:23:25:03 +0100] [Job 6] Renderer exit stat: 3 D [23/Feb/2005:23:25:03 +0100] [Job 6] Process dying with "Possible error on renderer command line or PostScript error. Check options.", exit stat: 3 D [23/Feb/2005:23:25:03 +0100] [Job 6] Possible error on renderer command line or PostScript error. Check options. D [23/Feb/2005:23:25:03 +0100] [Job 6] Renderer process finished D [23/Feb/2005:23:25:03 +0100] [Job 6] Killing process 18205 (KID3) D [23/Feb/2005:23:25:03 +0100] [Job 6] Process dying with "Error closing renderer", exit stat: 3 D [23/Feb/2005:23:25:03 +0100] [Job 6] Error closing renderer E [23/Feb/2005:23:25:05 +0100] PID 18201 stopped with status 3! D [23/Feb/2005:23:25:05 +0100] UpdateJob: job 6, file 0 is complete. D [23/Feb/2005:23:25:05 +0100] CancelJob: id = 6 D [23/Feb/2005:23:25:05 +0100] StopJob: id = 6, force = 0 D [23/Feb/2005:23:25:05 +0100] StopJob: printer state is 3 # emerge --info Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1 , 2.6.10-gentoo-r6 i686) ================================================================= System uname: 2.6.10-gentoo-r6 i686 AMD Athlon(tm) XP 2100+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 8 2005, 19:07:55) ] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer -mmmx -m3dnow -msse" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share /config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/shar e/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer -mmmx -m3dnow -msse" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="ftp://w148/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirro r ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo ftp://wh2.tu-dresden .de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/ge ntoo" LANG="en_US" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow X acpi alsa avi berkdb bitmap-fonts cdr crypt cups curl dvd dvdr emboss encode exif f77 fam font-server foomaticdb fortran gdbm gif gphoto2 gpm g streamer gtk2 imagemagick imap imlib jack java jpeg lcms libg++ libwww mad mikmo d mmx motif mozilla mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl p ng ppds python qt quicktime readline scanner sdl slang spell sqlite sse ssl svg svga tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb xine xml2 xmms xv xvid zlib linguas_de" Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
Created attachment 64957 [details] an updated ebuild with support for hl1250 hl1250 is not included in ghostscript-afpl. copy the 2 files from http://www.linuxprinting.org/download/printing/ghostscript-8.x/drivers/hl1250/ to /usr/local/portage/app-text/ghostscript-afpl/file/ and the included ebuild to /usr/local/portage/app-text/ghostscript-afpl/ ebuild /usr/local/portage/app-text/ghostscript-afpl/ghostscript-afpl-8.15.ebuild digest emerge ghostscript-afpl it works for me...
Can you please post a diff instead of a full ebuild? diff -u old.ebuild new.ebuild Do you know why the code is not in upstream afpl? Any chance to get it in there? Usually we are not particulary fond of carrying around something like this in our ebuilds ..
*** Bug 111528 has been marked as a duplicate of this bug. ***
thanks, fixed