View previous topic :: View next topic |
Author |
Message |
nanetti n00b
Joined: 16 Feb 2007 Posts: 40
|
Posted: Thu Dec 17, 2009 5:42 pm Post subject: [SOLVED]Okular and pdf printing problem, wrong orientation |
|
|
When I try to print a pdf ( could be also other file format, but I didn't tested ) from okular
the orientation is always landscape. Obviously I cannot print this way and had to switch to document viewer or gimp... pretty boring.
Any idea how to fix the problem?
Thank you
@moderator:
Following link is marked as solved so I had to open a new one because solution didn't work for me an probably I' will have no answer to the topic marked SOLVED:
https://forums.gentoo.org/viewtopic-t-802296-highlight-pdf+print.html
Anyway I do not mind if you want to merge the topic...
Sorry for troubles, bye
Code: |
emerge --info
Portage 2.1.6.13 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.31-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_6000+-with-gentoo-1.12.13
Timestamp of tree: Thu, 17 Dec 2009 02:00:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash: 4.0_p35
dev-java/java-config: 2.1.9-r1
dev-lang/python: 2.6.4, 3.1.1-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake: 2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox: 1.6-r2
sys-devel/autoconf: 2.13, 2.63-r1
sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.6b
virtual/os-headers: 2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -msse3 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/gconf /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 /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -msse3 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="it_IT.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="it en"
MAKEOPTS="-j3"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acl acpi alsa amd64 apache2 apm avi bash-completion berkdb bitmap-fonts bluetooth branding bzip2 cairo cdparanoia cdr cli consolekit cracklib crypt cups cxx dbus doc dri dts dv dvb dvd dvdr dvdread eds emboss encode esd evo exif fam fat ffmpeg firefox flac fontserver foomaticdb fortran gdbm gif gimprint gpm gstreamer gtk gtk2 hal iconv ieee1394 imagemagick imlib java javascript jpeg kde kerberos ldap libg++ libnotify libwww lua mad matroska mbox mikmod mmx mng modules motif mp3 mp4 mpeg mplayer msn mudflap multilib mysql ncurses nls nptl nptlonly ntfs nvidia ogg opengl openmp osspdflib pam pcre pdf perl php png ppds pppd python qt3 qt3support qt4 quicktime readline reflection rt73usb samba sasl scanner sdl session speex spell spl sse sse2 ssl startup-notification svg sysfs tcpd theora thunar tidy tiff truetype truetype-fonts type1-fonts udev unicode usb userlocalesvim-syntax vorbis x264 xml xmms xorg xulrunner xv xvid yahoo zlib" ALSA_CARDS="hda-intel ens1371" 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 keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="geforce nvidia vesa vga"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
|
Code: |
kdeinit4 --version
Qt: 4.5.3
KDE: 4.3.3 (KDE 4.3.3)
|
Last edited by nanetti on Fri Dec 18, 2009 1:36 pm; edited 1 time in total |
|
Back to top |
|
|
baaann Guru
Joined: 23 Jan 2006 Posts: 558 Location: uk
|
Posted: Thu Dec 17, 2009 6:34 pm Post subject: |
|
|
Portrait PDF's print OK for me in Okular, but landscape PDF's print across the middle of a portrait sheet. If this is the problem you have then
File > Print > Properties > Set Orientation to Portrait
should make it print correctly |
|
Back to top |
|
|
nanetti n00b
Joined: 16 Feb 2007 Posts: 40
|
Posted: Fri Dec 18, 2009 12:33 am Post subject: |
|
|
Unfortunately is not a problem about setting the correct orientation...
I also tried to print landscape or portrait and the result is the same: portrait oriented... |
|
Back to top |
|
|
nanetti n00b
Joined: 16 Feb 2007 Posts: 40
|
Posted: Fri Dec 18, 2009 1:36 pm Post subject: |
|
|
Recompiled okular
reconfigured cups removing the printer hp photosmart c5280 and adding it again
using the new
/usr/share/ppd/hpijs/HP/hp-photosmart_c5200_series-hpijs.ppd.gz
solved the problem... |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|