Bug 155696

Summary: Portrait prints as a landscape, and vice versa
Product: [Applications] okular Reporter: Jonathan Thomas <echidnaman>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: andresbajotierra, holger.vogel, joukj
Priority: NOR    
Version: 0.6   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: the pdf

Description Jonathan Thomas 2008-01-13 23:51:46 UTC
Version:           0.6 (using KDE KDE 4.0.0)
Compiler:          gcc 
OS:                Linux

I was trying to print a PDF that was to be printed as a landscape. I noticed that it was printing vertically; it was as if it was printing the PDF as a portrait.
So I went and tried to print it again with "Portrait" selected. This time the PDF printed as a landscape. Very weird; it seems the two options were reversed somehow.
Comment 1 Tobias Koenig 2008-03-06 15:18:07 UTC
Hej Thomas,

could you send us a test document, please? Or is it reproducable
with any document?

Ciao,
Tobias
Comment 2 Jonathan Thomas 2008-03-06 18:46:17 UTC
Created attachment 23810 [details]
the pdf

Sure thing.

When I print this as landscape, about a third of the printed page is cut off.
However when I print the pdf as a portrait, the printed paper prints as it
should, as a landscape.

This is the only PDF I've seen that does this.
Comment 3 Dario Andres 2008-08-16 15:08:23 UTC
Can you still reproduce this bug with recent KDE and QT versions ? (KDE 4.1 or 4.0.5 and QT 4.4)
Comment 4 Jouk Jansen 2008-09-10 16:36:43 UTC
Got this problem with all my PDF files on Fedora 9 systems.

I reported this bug to the Fedora comunity:
https://bugzilla.redhat.com/show_bug.cgi?id=461562

It still persists in version 7.4.1.0-5.fc9 which was released today.
Comment 5 Jouk Jansen 2008-09-30 12:14:37 UTC
This week's updates of kde and cups for Fedora 9 solved the problem at my system
Comment 6 Holger Vogel 2008-10-12 22:10:16 UTC
Hi, 

I think I have a pretty similar problem like the described one. If you have a pdf which is already formated as landscape (like the attachment) and you print with the landscape option, it will cut off after ~ 2/3 of the page. If you set the 	alignment to portrait it will be printed correctly.

okular 0.7.1
Comment 7 Dario Andres 2008-12-26 15:01:50 UTC
Can anyone still reproduce this bug with a recent KDE version? (4.1.3 / 4.2beta2 / 4.2svn) ?  Thanks :) 
Comment 8 Jonathan Thomas 2008-12-29 14:55:20 UTC
Apparently this is a bug in the CUPS packages for any debian-based distro. It has been fixed in Debian experimental and Kubuntu Jaunty. (See https://launchpad.net/bugs/47649)