You are not logged in.
I'm attempting to print a PDF file with Okular (happens with other KDE/Qt applications as well) to my HP Deskjet D2530 printer. The PDF has one inch margins on all sides, but when printing, additional space is added to the margins.
The page prints perfectly using lp:
$ lp /Path/to/PDF.pdfShould also note it prints perfectly with non-KDE applications such as epdfview.
I turned on debug mode in CUPS to find what options KDE sends to CUPS. I narrowed it down to the "fit-to-page" option causing the issue.
I can reproduce the incorrect margins exactly with this command:
$ lp -o fit-to-page -o PageSize=Letter /Path/to/PDF.pdfNow the issue I'm having is disabling this. I see nowhere in the KDE print dialog to disable fit-to-page, and have searched CUPS' documentation for a way to disable it on that end, but could not find anything. Searching for this issue has similiarly turned up nothing. I've also tried adding "fit-to-page=false" to ~/.cups/lpoptions with no result. I can't be the only one who has dealt with this. Is there some configuration option I'm missing somewhere or should I report this as a bug upstream?
Offline
hello!
i have a similar problem:
https://bbs.archlinux.org/viewtopic.php … 3#p1402373
for me the fit to page cmdline option does not apply and the output is always bigger than one page ... same goes for print menues with the option to turn on/off fit to page ...
Last edited by brrbrrbruno (2014-04-09 17:22:04)
Offline