Bug 1371110 - Image Viewer prints to PDF files using page layout "Portrait" only
Summary: Image Viewer prints to PDF files using page layout "Portrait" only
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: cups-pdf
Version: epel7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Remi Collet
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-29 11:03 UTC by Pavlin Georgiev
Modified: 2019-09-24 15:26 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-09-24 15:26:33 UTC
Type: Bug


Attachments (Terms of Use)
Video recording of image printing (1.14 MB, application/octet-stream)
2016-08-29 11:03 UTC, Pavlin Georgiev
no flags Details
PDF properties (279.73 KB, image/png)
2018-11-21 09:28 UTC, Pavlin Georgiev
no flags Details
PDF files with two different page orientations (2.30 MB, image/png)
2019-09-09 14:39 UTC, Pavlin Georgiev
no flags Details

Description Pavlin Georgiev 2016-08-29 11:03:02 UTC
Created attachment 1195330 [details]
Video recording of image printing

Description of the problem:
Given Image viewer in GNOME (eog) on x86_64
When printing an image via CUPS-pdf using page layout "Landscape"
Then the PDF file has page layout "Portrait"

OS: RHEL-7.3-20160825.1
Kernel: kernel-3.10.0-495.el7.x86_64

Version-Release number of selected component (if applicable):
cups-pdf-2.6.1-7.el7.x86_64


How reproducible:
Always

Steps to Reproduce:
1. Open an image with eog
2. from the menu Image -> Print
3. Select printer: CUPS-PDF-Printer
4. Select page layout (orientation): Landscape
5. Print the document
6. Open the PDF which is saved on the desktop using Document Viewer (evince)
7. Go to properties
The bug appears.

Actual results:
The page orientation in the PDF file is "Portrait".

Expected results:
The page orientation should be "Landscape".

Additional info:
See the attached video recording.

Comment 1 Pavlin Georgiev 2018-11-21 09:28:24 UTC
Created attachment 1507578 [details]
PDF properties

TEST SETUP

Distro: Fedora 29 x86_64 Workstation
Component version: 
  cups-2.2.8-5.fc29
  cups-pdf-3.0.1-6.fc29
  eog-3.28.4-1.fc29

TEST PROCEDURE
1. Install Fedora 29.
2. Install package "cups-pdf".
3. Set the default printer "Cups-PDF" from gnome-control-center.
4. Start eog.
5. Open sample JPG file.
6. Print the image to Cups-PDF using settings:
  Paper size: US Letter
  Orientation: Landscape

7. Open the newly generated PDF with evince.
8. Open properties
The bug is still there.

Comment 2 Pavlin Georgiev 2019-09-09 14:39:34 UTC
Created attachment 1613189 [details]
PDF files with two different page orientations

TEST SETUP
Distro: RHEL-8.1.0-20190903.1
Component version: 
  cups-2.2.6-27.el8
  eog-3.28.4-1.el8


TEST PROCEDURE
1. Install package cups-pdf from EPEL7 repo.
   (cups-pdf-2.6.1-7.el7)
2. Start gnome-control-center.
3. Open section Devices->Printers.
4. There is a printer already installed - "Cups-PDF". Set it as default.
5. Start Image Viewer (eog).
6. Open sample JPG file.
7. Print the image into PDF with portrait orientation.
8. Name the file as sample_portrait.pdf
9. Print the image into PDF with landscape orientation.
10. Name the file as sample_landscape.pdf
11. Open both files side-by-side.
12. Take a screenshot

Comment 3 Pavlin Georgiev 2019-09-09 14:40:13 UTC
RESULT
The PDF files have different page orientation as expected.


Note You need to log in before you can comment on or make changes to this bug.