kpdf-3.5.2 prints landscape documents with a portrait orientation. For example, look at http://www.usembassy.it/visa/VWP-timeline.pdf. The print preview and the print are cut to portrait size. Remove the patch kpdf-3.5.2-poppler.patch.bz2 to solve the problem (the preview is still cut in a bad way but it has a landscape format and the print is ok) There is a KDE bug http://bugs.kde.org/show_bug.cgi?id=129249: it seems it's a Gentoo problem. Portage 2.1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r9 i686) ================================================================= System uname: 2.6.16-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.6.14 dev-lang/python: 2.4.2 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r2 sys-devel/gcc-config: 1.3.13-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=prescott -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/lib/openoffice/share/dict/ooo /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=prescott -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/" LANG="it_IT.UTF-8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aac alsa apache2 arts asf audiofile avi bash-completion berkdb bitmap-fonts blas browserplugin bzip2 cairo cddb cdparanoia cdr chroot clamav cli cmucl crypt cups curl dri dv dvb dvd dvdr dvdread emboss encode ethereal examples exif fame fbcon ffmpeg fftw firefox foomaticdb fortran fpx gcj gd gdbm gif gimpprint gmp gnutls gpm graphviz gs gtk gtk2 gtkhtml idn imagemagick imlib innodb ipv6 isdnlog java jbig jpeg jpeg2k kde kdeenablefinal lcms libg++ libwww live lm_sensors lzo mad mikmod mime mjpeg mmx mmxext mng motif mozdevelop mozsvg mozxmlterm mp3 mpeg ncurses network nls nntp nptl nsplugin odbc ogg opengl oss pam pcre pdflib perl plotutils png ppds pppd python qt quicktime readline real reflection samba sdk sdl session skey smime spell spl sse sse2 ssl stats svg tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1 type1-fonts udev unicode usb utf8 vim-with-x vorbis wifi win32codecs wmf wxgtk1 wxwindows xanim xine xml xmms xorg xv xvid yv12 zlib elibc_glibc kernel_linux userland_GNU" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Stephan, up to you :)
when it is poppler specific it is aalso an ubuntu bug, have you found some fix for it there? :)
I have no fix, sorry :-( I tested also kpdf against poppler-0.5.3 without success.
I just bumped into this one yesterday and was looking to see if it had been fixed anywhere. Anyone got any ideas? It is pretty irritating as it does not seem possible to print these documents out in their entirety using kpdf...
Is this problem only related to landscape mode or is it a more general "pdf prints are croped wrong by kpdf" problem? I have some problems to print pdfs with kpdf in general. They are portrait orientation but they are wrongly placed on ther paper sheet so that ~ 5cm of the pdf are cut on the top (and there is white space at the bottom). I double checked my printer settings and the problem occeurs on two gentoo boxes. The print preview shows the problem, too (so the preview is in sync with the print result). I (have to) use ghostscript-esp-8.15 cause *-afpl and *-gnu don't support my printer. I'd like to hunt down this problem but I don't know whether it is kpdfs, popplers or ghostscript-esp fault :-/
OK I did another check - could have done this earleier though. The file prints fine with kghostview so it seems like a problem with poppler-patched kpdf. Should I open a seperate bug report?
Up to now I have had problems only with landscape documents. If you think your problem is related to poppler patch try to remove it :-)
*** Bug 145314 has been marked as a duplicate of this bug. ***
I can confirm the same problem with the new stable kpdf-3.5.5
emerging app-text/ghostscript-esp-8.15.3-r1 as virtual/ghostscript (with X cups gtk flags on) solved it for me.
(In reply to comment #10) > emerging app-text/ghostscript-esp-8.15.3-r1 as virtual/ghostscript > (with X cups gtk flags on) solved it for me. I have just installed app-text/ghostscript-esp-8.15.3-r1 and kpdf with the poppler patch: the problem is still there :-( When I remove the poppler patch from kpdf, there are no problems (with both ghostscript versions, -esp and -gpl).
The KDPF maintainer doesn't like that KPDF gets patched with poppler patches: http://tsdgeos.blogspot.com/2006/03/lets-do-poppler-dance.html Seeing as I can't print PDF's at the moment I can't disagree. That is a different bug entry though.
the new kpdf 3.5.6 uses poppler no longer which finally fixes this bug, thank you all for your patience