Printing anything from kde-base/gwenview-4.4.2 on HP Photosmart C5180 fails. Cups says "/usr/libexec/cups/filter/pdftops failed" System log says this: 2010-04-06 20:14:08 laptop2 kernel [ 607.866694] gs[5915] general protection ip:5938eb sp:7fff76f80d50 error:0 in gs[400000+55d000] 2010-04-06 20:14:08 laptop2 hpcups[5916] prnt/hpcups/HPCupsFilter.cpp 505: cupsRasterOpen failed, fd = 0 2010-04-06 20:14:08 laptop2 hp[5917] prnt/backend/hp.c 839: ERROR: null print job total=0 Printing from other apps I tried now works fine. emerge --info Portage 2.2_rc67 (default/linux/amd64/10.0/desktop, gcc-4.4.3, glibc-2.11-r1, 2.6.33-zen1 x86_64) ================================================================= System uname: Linux-2.6.33-zen1-x86_64-Pentium-R-_Dual-Core_CPU_T4300_@_2.10GHz-with-gentoo-2.0.1 Timestamp of tree: Mon, 05 Apr 2010 16:00:01 +0000 app-shells/bash: 4.1_p2-r1 dev-java/java-config: 2.1.10 dev-lang/python: 2.6.5-r1, 3.1.2-r1 dev-util/cmake: 2.8.1 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.1-r1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1 sys-devel/gcc: 4.4.3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.33 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=native -pipe -g" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/games/angband/edit/ /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -march=native -pipe -g" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--keep-going" FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="pl_PL.utf8" LDFLAGS="-Wl,-O1" LINGUAS="pl" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/kde-sunset /usr/local/portage/moje" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X Xaw3d a52 aac aalib acl acpi alsa amd64 amr amrnb amrwb async audiofile automount bash-completion berkdb bineditor bluetooth branding bzip2 cairo cdaudio cddb cdio cdparanoia cdr cli consolekit cracklib crypt css cups curl cxx dbus devhelp dirac disk-partition divx djvu dri dts dvd dvdr editor emboss emovix encode exchange exif faac faad fam fat ffmpeg fftw firefox firefox3 flac fontconfig fortran gd gdbm geoip gif glitz gmedia gphoto2 gpm gtk hal hddtemp htmlhandbook iconv id3 id3tag imagemagick inotify ipod jack jpeg kde kde4 kdehiddenvisibility kipi kpathsea kqemu ladspa lame laptop lcms libcaca libnotify libsamplerate lm_sensors mad mikmod mjpeg mmap mmx mmxext mng modules mp3 mp3tunes mp4 mpeg mplayer mtp mudflap multilib musicbrainz ncurses nls nptl nptlonly nsplugin ntfs ogg openal opencore-amr opencore-amrnb opencore-amrwb opengl openmp pam pango pch pcre pdf perl plasma png policykit ppds pppd python qt-copy qt3 qt3support qt4 rar readline realmedia reflection roe sasl scanner schroedinger sdl secure-delete sensord session sndfile solver soundtouch sourceview spell spl sse sse2 ssl ssse3 startup-notification svg swat symlink sysfs syslog tcpd theora threads tiff truetype unicode upnp usb vamp vcd vorbis webkit wicd wmf wmp wxwidgets wxwindows x264 xcb xcomposite xine xml xorg xscreensaver xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" QEMU_SOFTMMU_TARGETS="x86_64 i386" QEMU_USER_TARGETS="x86_64 i386" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Reproducible: Always
Hmm, might be a gs bug? not sure... which version of ghostscript are you using?
I'm using app-text/ghostscript-gpl-8.71-r3
Weird, after rebooting the system it started working. Sorry for the trouble.
I got it, printing from gwenview fails only in landscape mode. So, I'm reopening.
(In reply to comment #4) > I got it, printing from gwenview fails only in landscape mode. > > So, I'm reopening. > Same thing here with an HP Photosmart C4480. It prints fine in portrait mode, but fails in landscape mode.
Do you still have this problem with the most recent version of gwenview? If yes, could you please file a bug at bugs.kde.org too, and link to it here?!
It seems to be fixed in 4.5.0, at least with the one file I was testing it with now. If I stumble into this again, I'll reopen.
Disregard my previous comment... it's still there.
(In reply to comment #4) > I got it, printing from gwenview fails only in landscape mode. > > So, I'm reopening. Same problem here, except I'm not using gwenview but okular. When printing in landscape mode to an HP C7280 printer, gs core dumps and I get the "/usr/libexec/cups/filter/pdftops failed" message.
please report it upstream
Please upgrade to cups-1.4.6 in which the issue regarding landscape printing has been fixed upstream.
I still have the problem with net-print/cups-1.4.6 and app-text/ghostscript-gpl-9.01 :(
(In reply to comment #11) > Please upgrade to cups-1.4.6 in which the issue regarding landscape printing > has been fixed upstream. (In reply to comment #12) > I still have the problem with net-print/cups-1.4.6 and > app-text/ghostscript-gpl-9.01 :( I am wondering how you have a version of kde-base/gwenview that is neither in stable (4.4.5-r1) or unstable (4.6.2). A check of /usr/portage/distfiles shows no ebuild listed 4.5.0 is no longer the valid candidate. Please downgrade to 4.4.5, or upgrade to 4.6.2. See http://www.gentoo.org/proj/en/desktop/kde/kde4-guide.xml -- Section 2 for details. BTW Timo is correct as slot 4.6 Requires cups, and printing works for me. I'm on 4.6 SC
Another problem regarding landscape printing has been fixed with ghostscript-9.02, please test that version and report back. (This bug is probably a duplicate of bug #361527.)
Any news? What happens with gwenview-4.6.3?
No reply for ~2 months