Bug 222258 - okular cannot print in landscape
Summary: okular cannot print in landscape
Status: RESOLVED DUPLICATE of bug 181290
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 0.9.4
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
Depends on:
Reported: 2010-01-11 18:54 UTC by p92
Modified: 2011-03-16 23:10 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:

pdf file that always print in portrait (43.70 KB, application/pdf)
2010-01-11 19:08 UTC, p92
cups error log showing okular printing options (2.60 KB, application/gzip)
2010-01-11 19:12 UTC, p92

Note You need to log in before you can comment on or make changes to this bug.
Description p92 2010-01-11 18:54:53 UTC
Version:           0.9.4 (using KDE 4.3.4)
OS:                Linux
Installed from:    Ubuntu Packages

I am trying to print a pdf file landscape oriented. It shows up correctly in okular but prints in portrait regardless of my printer options.

The same pdf printed with xpdf is correctly printed in landscape without touching printer options (xpdf uses lpr to print).

You can check in the attached cups error log (created when hpijs crashes) the options passed by okular to cups.

My printer is a HP deskjet 970cxi.
Comment 1 p92 2010-01-11 19:08:09 UTC
Created attachment 39780 [details]
pdf file that always print in portrait
Comment 2 p92 2010-01-11 19:12:20 UTC
Created attachment 39781 [details]
cups error log showing okular printing options
Comment 3 Ferdinand Gassauer 2010-04-07 15:47:10 UTC
I can confirm this problem 
okular Version 0.10.2
KDE 4.4.2 (KDE 4.4.2) "release 234" - OpenSuSE 11.2
cups 1.3.11-4.5.1

IIRC it was mentioned somewhere that this problem should be fixed with qt4 4.6 ?
Comment 4 Vytautas 2010-09-17 08:54:47 UTC
Same here on debian testing (kde 4.4.5, okular 0.10.5, CUPS 1.4.4). I'm printing to HP CM2320fxi printer. Acrobat reader prints landscape pages to the same printer without problems.
Comment 5 Bastian Senst 2010-10-19 16:19:21 UTC
Could you check if this is bug #181290 ?
If so, you can just set it to portrait in the printing dialog and it will print fine.
Comment 6 Ferdinand Gassauer 2010-10-21 21:52:56 UTC
to https://bugs.kde.org/show_bug.cgi?id=222258#c5
So how does a user know if okular rotates because of the relation width to hight or because of embedded rotate info ?
this is trial and error - not really suitable for business use - 
unfortunatly the only way to avoid stress with printing - especially large and mixed  documents - is setting acroread or evince as default app for pdf files.
IMHO at least the distro should do this until it's fixed.
(I am on OpenSuSE 11.3 , KDE 4.5.2 and QT 4.7 ...)
Comment 7 Felix Möller 2011-03-16 19:02:40 UTC
i think this is a duplicate of bug #181290
Comment 8 Christian Boltz 2011-03-16 23:10:39 UTC

*** This bug has been marked as a duplicate of bug 181290 ***