Bug 383119 - Okular prints PDF shrunk (scaled), offset and cropped
Summary: Okular prints PDF shrunk (scaled), offset and cropped
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: printing (show other bugs)
Version: 1.1.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-04 11:50 UTC by Maf. King
Modified: 2017-10-08 09:26 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
PDF to print and scan of results (8.81 KB, application/pdf)
2017-08-04 11:50 UTC, Maf. King
Details
Scan of results from printing testdoc.pdf (25.10 KB, image/png)
2017-08-04 11:52 UTC, Maf. King
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maf. King 2017-08-04 11:50:44 UTC
Created attachment 107070 [details]
PDF to print and scan of results

OpenSuSE Leap 42.3 (upgraded KDE to 17.4.3) and Tumbleweed

Printing the PDFs using Okular 1.1.3 KF 5.36.0 Qt 5.9.1 results in output which is reduced in size (possibly to A5), shifted down on the page and slightly cropped on right margin.  See the attached original pdf (from Libreoffice) and the scan of the printed page

Sending to a HP Officejet on a remote CUPS server.

This did not happen for Leap 42.2 (kde applications 17.4.1 - but that installation is now gone), and does not happpen on a clean Leap 42.3 install (Okular 1.1.2, KF 5.32.0, Qt 5.6.2) - printout is as expected.  

Upgrading to the SuSE reposiory for KDE 17.4.3 to give versions listed above breaks Okular printing.   Tumbleweed default install (yesterday) also displays the problem.

Importing the PDF into GIMP and printing directly from GIMP, results in expected full page output.  Also for the command "lp testdoc.pdf" - proper output on the printer.

Gwenview, Konnqueror, (& firefox, LibreOffice) all produce hard copy which looks as expected.

I'm open to suggestions for anything to try settings-wise, but it is a pain to have to save a pdf from KMail, then open a shell and type a command to get a decent printout.
Comment 1 Maf. King 2017-08-04 11:52:16 UTC
Created attachment 107071 [details]
Scan of results from printing testdoc.pdf
Comment 2 Falkenberg 2017-08-20 12:04:08 UTC
I also experienced this behaviour for years now until I finally decided to dissect the entire processing pipeline (okular -> cups -> brother printer driver) and find the reason for this.
I reported this issue in more detail here: https://bugs.kde.org/show_bug.cgi?id=383734

Hope the developers will swap the two lines in the code soon.

Regards
Robert
Comment 3 Nate Graham 2017-09-12 02:34:40 UTC
Is looks like https://bugs.kde.org/show_bug.cgi?id=383734 is resolved now, with the two-line code change! Is this issue now also resolved?
Comment 4 Christoph Feck 2017-10-04 16:04:14 UTC
At least Tumbleweed has KDE Applications 17.08 now, so if you can test it, please add a comment.
Comment 5 Maf. King 2017-10-08 09:26:00 UTC
Seems fixed following some updates to latest openSuSE rpms - Okular 1.2.1 KF 5.38 Qt 5.9.1

printouts from okular are as expected again.

thanks.