[Okular-devel] [Bug 181290] Landscape pdf prints with wrong orientation when choosing landscape in print dialog

Falk faah at gmx.de
Sat May 7 17:19:14 CEST 2011


https://bugs.kde.org/show_bug.cgi?id=181290





--- Comment #83 from Falk <faah gmx de>  2011-05-07 17:19:09 ---
Created an attachment (id=59734)
 --> (http://bugs.kde.org/attachment.cgi?id=59734)
Patch for the PDF orientation problem

First of all I am not a Okular/KDE developer ... just a normal user that lost
lots of paper in this bug.

The patch I would like to propose, fixes the Bug for PDF documents.
But the Bug may be present also for other documents. The patch itself was
created against SVN Revision 1230782.

The Problem was, that okular detected a landscape document and passed the
landscape option to cups. Cups itself took the page and rotated it and that
results in the Bug we see.

So the main point of this is:

If you have a Landscape document and wanted it printed as is than you have to
pass "portrait" as option to cups. If you want to print a landscape document in
portrait you have to pass portrait as option to cups.

Thats why the mentioned workaround works, I haven't tested it but i bet that
the workaround fails for portrait documents. Because for portrait documents the
options work as one would expect.

So hopefully the patch finds it way into the trunk.

Falk

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Okular-devel mailing list