Bug 254306

Summary: Printing files processed by pdfcrop causes the margins to reappear on the printout.
Product: [Applications] okular Reporter: BW <b.weggenmann+kde>
Component: printingAssignee: Okular developers <okular-devel>
Status: RESOLVED DUPLICATE    
Severity: normal CC: aacid, adav84, m.jundt, timuzhti
Priority: NOR Keywords: triaged
Version: 0.11.2   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description BW 2010-10-15 22:36:13 UTC
Version:           0.11.2 (using KDE 4.5.2) 
OS:                Linux

To print pdf documents I frequently use pdfcrop to remove the white margins.
Okular correctly displays the cropped files on screen, however, when printing, the margins magically are back on the printout, even when setting the print margins to 0 in the Properties dialog.
The "Trim margins" option of Okular works on screen, but although it does have the expected effect on the "Print preview", it has no effect on the printout and still "prints" the white margins (whether I open the original or the pdfcropped document).

The described problem occurs when printing to my actual printer (a Canon Pixma iP4000) as well as when printing to a pdf file. The new pdf file will again have plenty of white space around it (The old Fermat had the opposite problem - he didn't have enough margin to prove his last theorem ;)

Printing of pdfcropped files works perfectly with all versions of acroread I have tested so far.

Reproducible: Didn't try




Further relevant packages I'm using:
cups 1.44-r2
gutenprint 5.2.5-r1
ghostscript 8.71-r1
Comment 1 adav84 2012-03-25 20:10:09 UTC
just happened to me, too, exactly as you described (only pdfedit instead of pdfcrop)
Comment 2 Jundt 2015-05-15 10:23:08 UTC
Same problem as described. 

Version 0.20.2
KDE 4.14.2
CUPS 1.7.2
Comment 3 BW 2015-06-10 10:55:34 UTC
Probably related to https://bugs.kde.org/show_bug.cgi?id=339176?
Comment 4 muzhit 2018-11-17 08:08:05 UTC

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