Bug 198609 - print uses always landscape instead of portrait
Summary: print uses always landscape instead of portrait
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-02 09:03 UTC by Ferdinand Gassauer
Modified: 2014-12-06 13:53 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ferdinand Gassauer 2009-07-02 09:03:42 UTC
Version:           0.8.90 (using 4.2.95 (KDE 4.2.95 (KDE 4.3 RC1)) "release 139", KDE:KDE4:Factory:Desktop / openSUSE_11.1)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.27.23-0.1-default

regardless what is set in Properties/Orientation it prints landscape
Comment 1 Lars Scheiter 2009-07-02 09:35:01 UTC
I can confirm this. Currently using KDE 4.2.90 (Beta3) Kubuntus PPAs. The funny part about this is, when i print to PDF through cups (cups pdf filter), the layout seems to be okay. But printing to a "real" printer has the wrong orientation, its always landscape. Cups is at version 1.3.9-17ubuntu3.1.
Comment 2 Ferdinand Gassauer 2009-07-02 10:09:21 UTC
I can confirm that orientation works well when using CUPS
Comment 3 Dr. Thomas Grottker 2009-07-02 19:55:06 UTC
Okular prints a portrait PDF A4 document as landscape. But when it shall print portrait, it prints landscape.

The problem seems to be a confused checkbox landscape/portrait.

The applied printer is HP 1018.
Comment 4 Pino Toscano 2009-07-02 20:02:59 UTC
(In reply to comment #3)
> Okular prints a portrait PDF A4 document as landscape. But when it shall print
> portrait, it prints landscape.

Your problem is bug #181290, not this one.
Comment 5 tim 2009-10-17 11:15:26 UTC
I'm seeing this bug in kde 4.3.1 on debian squeeze. Okular and xpdf print incorrectly (printing in landscape mode always) via a cups printer (the printer is a Samsung ML2851ND network printer). Prints fine from kpdf, and other applications print fine too (konqueror prints web pages e.t.c)
Comment 6 tim 2009-11-05 10:42:28 UTC
Workaround has been found. If the Job Option "Scale to fit" in system-config-printer-kde is deselected the problem goes away!
Comment 7 Andreas K. Huettel 2010-06-21 22:43:08 UTC
http://bugs.gentoo.org/show_bug.cgi?id=306895

Same problem, same workaround, okular-4.4.4
Comment 8 Albert Astals Cid 2012-08-20 18:11:26 UTC
Can anyone confirm if this problem is still there in Okular released with KDE Applications 4.9.0 or higher?

Thanks for caring about Okular :-)
Comment 9 Ferdinand Gassauer 2012-08-20 19:01:38 UTC
i think it works in 4.9
Comment 10 CDL 2014-02-15 23:21:19 UTC
Debian Squeeze 2.6.32-5-amd64, KDE 4.4.5, Okular 0.10.5, system-config-printer 1.2.3, HP LaserJet printers (HPLJ-6L, HPLJ-cp2025cdn). Workaround under printer Properties/Job Options unchecking 'Scale To Fit' has no effect nor does changing Orientation to/from 'Automatic' or 'Portrait (no rotation)'. If PDF is in Landscape orientation, printing from Okular, and selecting the printer Properties shows 'Landscape' correctly, but prints in Portrait. Workaround for me is to select 'Portrait' orientation under printer Properties. This has to be done with each print job (PITA).
Comment 11 Luigi Toscano 2014-02-15 23:27:27 UTC
(In reply to comment #10)
> Debian Squeeze 2.6.32-5-amd64, KDE 4.4.5, Okular 0.10.5,
> system-config-printer 1.2.3, 

Your version is quite old (and squeeze will be soon out of support). Could you please try with a newer version? (however, please note that wheezy ships with with Okular 0.14, while the version Albert was talking about in #c8 is 0.15)
Comment 12 CDL 2014-02-15 23:40:47 UTC
(In reply to comment #11)

> Your version is quite old (and squeeze will be soon out of support). Could
> you please try with a newer version? (however, please note that wheezy ships
> with with Okular 0.14, while the version Albert was talking about in #c8 is
> 0.15)
Yes it is. Have another system:
Squeeze 3.2.0-4-amd64, KDE 4.8.4, Okular 0.14.3, that works fine. Just wanted to add to the body of knowledge on what systems it does NOT work on. now readers will also know it works (at least for me) on a KDE earlier than 4.9, although I don't know if it is an Okular issue or KDE.
Comment 13 Guido Schmidt 2014-12-06 13:53:19 UTC
I have three boxes with opensuse 12.3, two of them have Okular 0.19.3 with KDE 4.13.3 installed. Only no. 3 has Okular 0.20.2, KDE 4.14.2.
I also have two printers: A Toshiba e-Studio 151 and a Brother HL-5250DN.

Only no. 3 suffers from the always-landscape problem and only when I print PDFs on the Toshiba.

I have triple-checked all settings regarding orientation. I could not find the job option "Scale to fit" in system-config-printer-kde (as of comment #6). Maybe that got removed?