Summary: | feature request: fit to printable area | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | Darko Veberic <darko.veberic> |
Component: | general | Assignee: | Okular developers <okular-devel> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | aacid, arne_bab, hong, jskartman, miranche, psychonaut |
Priority: | NOR | ||
Version: | 0.15.5 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/okular/5a1afc51e3bbe78cf9af2870ae41bf2eb79e7a64 | Version Fixed In: | 4.12.0 |
Sentry Crash Report: |
Description
Darko Veberic
2013-05-07 16:21:26 UTC
*** Bug 276042 has been marked as a duplicate of this bug. *** Git commit 5a1afc51e3bbe78cf9af2870ae41bf2eb79e7a64 by Albert Astals Cid. Committed on 29/10/2013 at 19:44. Pushed by aacid into branch 'master'. Pass down to lpr the printer margins This makes automagically work the printing on printers with hard-margins since the QPrinter dialog margins are initialized to the printer hard-margins. If you still want the old and mostly unuseful behaviour of not having any margin (and thus your printer not printing things on the borders) you can always set the margins to 0 in the dialog FIXED-IN: 4.12.0 M +5 -1 core/fileprinter.cpp http://commits.kde.org/okular/5a1afc51e3bbe78cf9af2870ae41bf2eb79e7a64 Thanks a lot for tackling this! The fix does not seem to handle the case when the size of the pdf page is *smaller* than the printer page size. A fully functional "fit to printable area" feature would enlarge the text in this case, rather than leaving it default size with large margins. The shortcoming of this is best seen when printing 2 or more pages per sheet. This is a useful way of saving paper when the original document has a default page size smaller than the print paper size. At present, however, okular seems to first process the page for the specified paper size (say, US Letter), which leaves large margins around it, then shrinks it again to fit two or more pages into one. The result are very small letters and lots of unused white space. Please advise. This issue fits the description of this feature request, as the same problem is handled with the "fit to printable area" option in the standard commercial pdf viewer, which enlarges a smaller page size to printer paper size, regardless of how many pages per sheet are being printed. If needed, I'll gladly submit a new feature request, along with a sample file, detailed instructions how to reproduce the issue etc. Thank you! please submit a new wish item Has the issue been moved to a new ticket? (In reply to Hong Xu from comment #6) > Has the issue been moved to a new ticket? I couldn't find one, so I opened Bug 363788. Please vote/comment there. |