[Okular-devel] [okular] [Bug 322267] Okular resizes on printing

Nicholas vanoudt at gmail.com
Wed Jun 18 04:39:06 UTC 2014


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

Nicholas <vanoudt at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vanoudt at gmail.com

--- Comment #17 from Nicholas <vanoudt at gmail.com> ---
If I can chime in on this one. I've long had the same issue. My printer margins
are different, so the test file here still fits in the margins of the printer -
but only just. Every file I print is scaled to fit - but not to the actual
printer margins.

I tend these days to print PDF files directly using the lpr command

lpr -o BRDuplex=DuplexTumble -o BRTonerSaveMode=ON -o Collate=True filename.pdf

debugging okular shows that it uses the following lpr options:

okular(Okular::FilePrinter::doPrintFiles: Executing "lpr.cups" with arguments
("-P", "BrotherMFC", "-#1", "-J", "filename.pdf", "-o", "media=A4", "-o",
"portrait", "-o", "sides=one-sided", "-o", "outputorder=normal", "-o",
"Collate=False", "-o", "page-left=10", "-o", "page-top=10", "-o",
"page-right=10", "-o", "page-bottom=10", "-o", "fit-to-page", "-o",
"BRTonerSaveMode=ON", "-r", "/tmp/kde-nicholas/okulary15700.ps")

Of note there is the -o "fit-to-page". I notice that evince has the ability to
select this or not (and deselecting it in evince causes my prints to print out
perfectly). being able to do so in okular would also be wonderful!

Of secondary note is that, for my printer (Brother) at least, the
"sides=one-sided" option is useless - it is overridden by the printer settings
BRDuplex.

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


More information about the Okular-devel mailing list