Bug 591087

Summary: cannot print in landscape orientation
Product: Red Hat Enterprise Linux 6 Reporter: Vladimir Benes <vbenes>
Component: evinceAssignee: Marek Kašík <mkasik>
Status: CLOSED CURRENTRELEASE QA Contact: desktop-bugs <desktop-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 6.0CC: mclasen, mhasko
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: evince-2.28.2-12.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-10 20:22:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 599016    
Attachments:
Description Flags
add "Auto Rotate and Center" and "Page Scaling" options to print dialog
none
US letter printed on A4 in landscape by acroread, evince-2.28.2-12 and evince-2.28.2-13 none

Description Vladimir Benes 2010-05-11 12:12:09 UTC
Description of problem:
if I change orientation to landscape in File->page setup then (after pressing ctrl+p) I can check that landscape orientation is selected in print dialog but when print is done the result is still the same no matter if landscape or portrait orientation is selected

Version-Release number of selected component (if applicable):
evince-2.28.2-6.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
1.in evince go into File -> Page Setup
2.check landscape orientation 
3.print via ctrl+p dialog
  
Actual results:
result same as if portrait orientation is selected

Expected results:
the top of the page should be printed in the center of the longer page side

Additional info:
firefox landscape printing works well

Comment 1 Vladimir Benes 2010-05-11 12:15:23 UTC
the printing to pdf file is also affected

Comment 3 RHEL Program Management 2010-05-11 14:20:22 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.

Comment 4 Marek Kašík 2010-05-20 13:27:46 UTC
Created attachment 415413 [details]
add "Auto Rotate and Center" and "Page Scaling" options to print dialog

Hi,

this is a patch backported from upstream. It adds "Auto Rotate and Center" check button and "Page Scaling:" combo box to print dialog. The combo box contains "None", "Shrink to Printable Area" and "Fit to Printable Area" items.
It doesn't contain possibility to fit page to printable area and center it (has to be implemented and localized upstream).
The patch also includes localizations of the new strings.

Regards

Marek

Comment 7 Michal Haško 2010-07-14 13:51:17 UTC
The latest version of evince is printing landscape, but not the way we think it should be printed.
See the attached pdf now please.
Acroread printed the page landscape and centred, but evince (the other 2 pages) printed the pages on left side.
One may also notice that the version printed with acroread is a bit bigger than the one printed by evince. We think that this is caused because acroread considers the full paper as printable area while evince just the left half We think so because the original printed pdf is in US letter format, but the printed paper is A4 size, which is a bit narrower (i.e. US letter is a bit wider) in ratio. So evince was not able to fit the whole US letter width to half of A4, so it had to shrink the page a bit more and added extra white space to the bottom. But acroread took the whole page as printable area and fitted the wider US latter in landscape just fine.
Am I making myself clear enough? This is not so simple to explain.
What version do we consider to be right? acroread or evince?

Comment 8 Michal Haško 2010-07-14 13:52:40 UTC
Created attachment 431777 [details]
US letter printed on A4 in landscape by acroread, evince-2.28.2-12 and evince-2.28.2-13

Comment 9 Marek Kašík 2010-07-20 11:55:32 UTC
Hi Michal,

the right versions are both. Acroread and evince are just different applications so their results are sometimes different too. In this case we have decided to use upstream's patch for this which doesn't have two controls for Auto-rotation and Center but only one for both.

Marek

Comment 10 Vladimir Benes 2010-09-16 13:29:31 UTC
the landscape printing works now... if the landscape page should be centered or starting from the left edge that's for another discussion
-> VERIFIED

Comment 11 releng-rhel@redhat.com 2010-11-10 20:22:15 UTC
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.