[okular] [Bug 509853] New: Printing pdf with rotated pages result in wrong orientation of paper

Theofilos Intzoglou bugzilla_noreply at kde.org
Wed Sep 24 08:21:25 BST 2025


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

            Bug ID: 509853
           Summary: Printing pdf with rotated pages result in wrong
                    orientation of paper
    Classification: Applications
           Product: okular
      Version First 24.12.3
       Reported In:
          Platform: Kubuntu
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: PDF backend
          Assignee: okular-devel at kde.org
          Reporter: int.teo at gmail.com
  Target Milestone: ---

Created attachment 185204
  --> https://bugs.kde.org/attachment.cgi?id=185204&action=edit
Example pdf file

SUMMARY
I came across some pdf files that are similar to the one that I have attached
as an example.

% pdfinfo out.pdf
Creator:         RICOH Aficio MP 5002
Producer:        RICOH Aficio MP 5002
CreationDate:    Wed Jun 25 09:38:00 2025 EEST
ModDate:         Wed Jun 25 09:38:00 2025 EEST
Custom Metadata: no
Metadata Stream: no
Tagged:          no
UserProperties:  no
Suspects:        no
Form:            none
JavaScript:      no
Pages:           1
Encrypted:       no
Page size:       841.92 x 595.2 pts (A4)
Page rot:        270
File size:       198211 bytes
Optimized:       no
PDF version:     1.4

These files appear with correct orientation in okular and occupy the full page
as it should. If I select "Print Preview" the page appears in portrait mode
too. When I send the file to the printer though the page is printed in portrait
mode and is scaled down to a corner of the page. To force okular to print the
page correctly I have to go to the printer properies and select orientation to
"Portrait" (it autoselected "Landscape" for some reason) and then also change
in the "PDF Options" of the print dialog the "Scaling mode" to "Fit to full
page".

If I use firefox or chrome to print the same file, it appears with correct
size/orientation.

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 25.04
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.3
Kernel Version: 6.14.0-32-generic (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i3-8100 CPU @ 3.60GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Intel® UHD Graphics 630

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list