Bug 334653

Summary: Margins are broken when printing a PDF with Cups 1.7.2
Product: [Applications] okular Reporter: Cédric Bellegarde <web>
Component: printingAssignee: Okular developers <okular-devel>
Status: RESOLVED WORKSFORME    
Severity: normal CC: aacid, m.weghorn, tkedwards
Priority: NOR    
Version: 0.19.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Photo of issue

Description Cédric Bellegarde 2014-05-12 11:54:56 UTC
When printing a PDF, okular add strange margins...

Tested on ArchLinux and Kubuntu 14.04  with KDE 4.12 and KDE 4.13.

Reproducible: Always

Steps to Reproduce:
1. Print a PDF


Actual Results:  
Okular add margins

Expected Results:  
Default printer margins

Driver: "Toshiba e-Studio 5500c Foomatic/pxlcolor (recommended)"
Printing with Zathura and Evince works as expected.
PDF URL: https://www.formulaires.modernisation.gouv.fr/gf/cerfa_14881_01.do

See attachment for more informations
Comment 1 Cédric Bellegarde 2014-05-12 11:55:34 UTC
Created attachment 86591 [details]
Photo of issue

On the left, document printed with Evince
On the right with Okular
Comment 2 Albert Astals Cid 2014-05-12 17:55:02 UTC
Why version set to 0.19.60 then?

Can you please say really which Okular version do you have?

Also what cups version do you have?
Comment 3 Cédric Bellegarde 2014-05-12 22:25:55 UTC
Sorry for version, fixed.
Comment 4 Albert Astals Cid 2014-05-15 20:10:27 UTC
What about the cups question?
Comment 5 Cédric Bellegarde 2014-05-16 07:42:23 UTC
1.7.2-0ubuntu1
Comment 6 Albert Astals Cid 2014-05-20 21:28:17 UTC
Yes, cups 1.7.2 somehow regresses the bugfix i made for bug 319476
Comment 7 Albert Astals Cid 2016-02-09 22:56:48 UTC
*** Bug 359122 has been marked as a duplicate of this bug. ***
Comment 8 Tim Edwards 2016-02-10 07:42:46 UTC
If this bug can't be fixed would it be better instead to just have Okular use the lpr command directly to print things? That works as a manual workaround for me at the moment
Comment 9 Michael Weghorn 2018-01-17 14:12:14 UTC
Does the problem still exist with current versions of Okular?
If so, can you please attach the PPD file of the printer? (It should be at /etc/cups/ppd/<PRINTERNAME>.ppd .)
Comment 10 Tim Edwards 2018-01-18 09:48:39 UTC
Please leave this open for a while? I'll test again when I get new printer ink cartridges
Comment 11 Michael Weghorn 2018-01-18 09:54:11 UTC
Thanks, that is great if you can do a retest.
Comment 12 Tim Edwards 2018-01-24 11:08:55 UTC
I did a couple of test prints of PDF documents. I don't see this problem anymore, closing