Bug 188112

Summary: pages are not well positioned when printing
Product: [Applications] okular Reporter: Thomas Capricelli <kdebugs.20.orzelf>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED DUPLICATE    
Severity: normal CC: ietc, jordonwii
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: example

Description Thomas Capricelli 2009-03-25 22:31:42 UTC
Version:            (using KDE 4.2.1)
OS:                Linux
Installed from:    Gentoo Packages

When i print a file using okular, the page is shifted a few mm (7 or 8) to the top. As a result, there is a blank margin at the bottom, and the top of the page is missing.

If i print with acrobat reader (all my files are actually pdf), then it is printed without any problem. I have had this problem with very long, probably with kpdf in kde3 already.
Comment 1 Thomas Capricelli 2009-03-25 22:35:04 UTC
Created attachment 32398 [details]
example

As you can see on this exemple, some part of the bottom is missing as well.

This the very same document, printed with acrobat on the left, and with okular on the right.
Comment 2 ietc 2009-05-17 01:16:06 UTC
I experience this as well.  (Side-note: I can at least confirm that this happens with US Letter and US Legal sizes of paper.)  Adobe Reader on Windows does not exhibit this issue.

Okular 0.8.2
KDE 4.2.2 "release 114"
openSUSE 11.1

CUPS 1.3.9
Brother HL-4070cdw color laser printer
Comment 3 ietc 2009-05-17 02:01:34 UTC
I wonder if the following might be related; hopefully it is not a red herring.

https://bugs.launchpad.net/poppler/+bug/293832
Comment 4 Thomas Capricelli 2010-06-10 12:07:30 UTC
i confirm the problem with kde/okular 4.4.4 and app-text/poppler-0.12.4-r3.

I confirm that when using acroread, it works well. Though it's a pain to have to start acroread just for printing... :-(

Is there really anything i can do to help solve this ?
Comment 5 Albert Astals Cid 2010-06-10 20:57:08 UTC
Well, you can start your editor of choice and send a patch if you know how to code
Comment 6 Thomas Capricelli 2010-06-10 21:32:56 UTC
u?? i dont know anything about this. I've double checked the driver and the "ppd" file today... they are ok. Anyway, as it works with acroread and not okular, i think the problem is on 'higher' levels than drivers.
Comment 7 Albert Astals Cid 2010-06-10 21:43:38 UTC
u? Who said drivers?
Comment 8 Thomas Capricelli 2010-06-10 22:14:14 UTC
I'm trying to find out what my problem is. I thought it would be useful to tell here what i've tried and the results. Bad idea?
Comment 9 Albert Astals Cid 2010-06-10 22:31:52 UTC
I think we are having a communication problem.

You asked how to help, i said that if you can code you could try looking at the code and provide a patch, if you can not code, yes, posting your findings here is good.
Comment 10 Thomas Capricelli 2010-06-10 22:37:55 UTC
yes, i understand this.
I said in #6 that i could not code and, also, gave a test result. In 7 you seem to say that my test was stupid. I'm sorry for this. I do what i can.
Comment 11 Thomas Capricelli 2010-06-10 22:39:19 UTC
also, i find the proposal "if you can code, provide a patch" a little bit aggressive, if not insulting. Of course, if i could fix the problem myself, i would, for sure, not keep the result only for me.
Comment 12 Albert Astals Cid 2010-06-10 22:48:27 UTC
I failed to understand that "i dont know anything about this." means "no, i can not code".
Comment 13 Thomas Capricelli 2011-07-12 16:01:54 UTC
the problem is still here, and still so frustrating. i can't print with kde..

app-text/poppler-0.16.7
kde-base/okular-4.6.5
Comment 14 Davor Cubranic 2011-07-12 17:46:54 UTC
Try with Evince if you can. It may not be Okular, but KDE's print system that's at fault.
Comment 15 jordonwii 2011-12-22 23:03:14 UTC
I believe this is a duplicate of bug 196590. Improper margins could be the issue.
Comment 16 Myriam Schweingruber 2011-12-27 17:21:51 UTC

*** This bug has been marked as a duplicate of bug 196590 ***