Bug 422600 - Okular is unable to print to fit page
Summary: Okular is unable to print to fit page
Status: RESOLVED WORKSFORME
Alias: None
Product: okular
Classification: Applications
Component: printing (show other bugs)
Version: 1.10.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-07 23:00 UTC by gregorystarr00
Modified: 2020-07-22 04:33 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
This highlights the broken print. (2.01 MB, image/jpeg)
2020-06-07 23:00 UTC, gregorystarr00
Details
Settings (71.77 KB, image/png)
2020-06-14 00:47 UTC, gregorystarr00
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gregorystarr00 2020-06-07 23:00:56 UTC
Created attachment 129130 [details]
This highlights the broken print.

SUMMARY
I was printing some scanned-in documents today, and when printed thru Okular, there were large borders around the document. When printed through Evince, however, the documents fit the page perfectly (with fit to printable area selected). 

STEPS TO REPRODUCE
1. Print document with print set to fit.


OBSERVED RESULT
Massive margins around the page.

EXPECTED RESULT
Page fits as in Evince.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.70.0
Qt Version: 5.14.2

ADDITIONAL INFORMATION
Attached are pictures of the broken print, here is a google drive link to a reproducible document: https://drive.google.com/file/d/1UquoDj-ld2mMAFyqkVjh_eIYj9Uuu3WE/view?usp=sharing This printed as shown in Okular, but successfuly, filling the page, in Evince.
Comment 1 Nate Graham 2020-06-11 05:52:42 UTC
> with print set to fit
Can you clarify what this means? How did you set it exactly? Did you happen to check the "Force Rasterization" checkbox?
Comment 2 gregorystarr00 2020-06-14 00:47:39 UTC
Created attachment 129331 [details]
Settings

No, I didn't enable force rasterization. Everythnig was stock, except for printer properties.
Comment 3 Michael Weghorn 2020-06-22 08:19:39 UTC
Works fine for me in a quick test with Okular 1.10.2 on Debian testing using the CUPS-PDF printer using A4 as page size.

Does it work for you when "printing" using CUPS-PDF instead of the actual printer as well?

If so, you please attach:
* your printer's PPD file, located at /etc/cups/<PRINTERNAME>.ppd
* CUPS log (or relevant part of that for the print job): /var/log/cups/error_log, with 'LogLevel debug' set in /etc/cups/cupsd.conf (might have to set 'ErrorLog /var/log/cups/error_log' in '/etc/cups/cups-files.conf' or otherwise search in journal, depending on how your distro configures this)
Comment 4 Michael Weghorn 2020-06-22 12:43:08 UTC
And does it work if you explicitly enable rasterization? This might help to avoid issues with the CUPS filter chain, s.a. bug 422690.
Comment 5 Bug Janitor Service 2020-07-07 04:33:09 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2020-07-22 04:33:10 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!