After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 649886 - Printing of PDF includes crop marks which are not there before
Printing of PDF includes crop marks which are not there before
Status: RESOLVED OBSOLETE
Product: evince
Classification: Core
Component: printing
3.6.x
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
: 696353 710861 756111 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-05-10 11:54 UTC by Felix Möller
Modified: 2018-05-22 14:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screenshot showing the problem (25.65 KB, image/png)
2011-05-10 11:54 UTC, Felix Möller
Details
screenshot showing document and printout (197.45 KB, image/png)
2012-10-01 20:48 UTC, Felix Möller
Details

Description Felix Möller 2011-05-10 11:54:03 UTC
Created attachment 187571 [details]
screenshot showing the problem

Trying to print the PDF from http://media.techtarget.com/tss/static/books/wiley/masteringEJB3/downloads/MasteringEJB4thEd.pdf with 2 pages on a single page. My printout shows the usually hidden margin with the cutting marks and Quark Express file name.
Comment 1 Felix Möller 2011-05-10 11:54:49 UTC
Sorry forgot the versions:
fm@thinkpad:~ $ rpm -q evince poppler
evince-3.0.0-1.fc15.i686
poppler-0.16.5-1.fc15.i686
Comment 2 Felix Möller 2012-03-28 21:05:05 UTC
I can still reproduce this on todays Ubuntu 11.10.

evince                                             3.2.1-0ubuntu2.2   
libpoppler13                                       0.16.7-2ubuntu2
Comment 3 Felix Möller 2012-09-15 08:57:53 UTC
This is currently blocked by https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1030357
Comment 4 Germán Poo-Caamaño 2012-09-15 15:50:48 UTC
Are you sure is the same problem?  According to that bug report, the problem happens with cairo 0.12, not with cairo 1.10; which is the one shipped by Ubuntu.  So, at least you have cairo compiled/installed manually or from an extra repository, it should be a different bug.

Which version of cairo do you have installed?
Comment 5 Felix Möller 2012-09-15 17:12:57 UTC
(In reply to comment #4)
> Are you sure is the same problem?  According to that bug report, the problem
> happens with cairo 0.12, not with cairo 1.10; which is the one shipped by
> Ubuntu.  So, at least you have cairo compiled/installed manually or from an
> extra repository, it should be a different bug.
> 
> Which version of cairo do you have installed?

It is for sure not the same problem. But I currently cannot test as printing crashes immediately.

My versions:
fm@thinkpad:~$ dpkg -l | egrep '(poppler|evince|cairo)' | grep '^i' | sed 's:\s\+: :g'
ii evince 3.5.90-0ubuntu3 amd64 Document (PostScript, PDF) viewer
ii libcairo2:amd64 1.12.2-1ubuntu1 amd64 The Cairo 2D vector graphics library
ii libpoppler28:amd64 0.20.4-0ubuntu1 amd64 PDF rendering library
Comment 6 Germán Poo-Caamaño 2012-09-15 18:11:56 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > [...]
> > Which version of cairo do you have installed?
> 
> It is for sure not the same problem. But I currently cannot test as printing
> crashes immediately.
> 
> My versions:
> fm@thinkpad:~$ dpkg -l | egrep '(poppler|evince|cairo)' | grep '^i' | sed
> 's:\s\+: :g'
> ii evince 3.5.90-0ubuntu3 amd64 Document (PostScript, PDF) viewer
> ii libcairo2:amd64 1.12.2-1ubuntu1 amd64 The Cairo 2D vector graphics library
> ii libpoppler28:amd64 0.20.4-0ubuntu1 amd64 PDF rendering library

fair enough.

It is fixed in an unreleased version of cairo, though.  I am closing this bug as NOTGNOME and adding the reference to the cairo bug.
Comment 7 Felix Möller 2012-10-01 20:43:30 UTC
The fixed cairo has been released to Ubuntu. So I can test this again.

However, I have cutting marks in the print which are not there before ... So reopening.
Comment 8 Felix Möller 2012-10-01 20:48:19 UTC
Created attachment 225534 [details]
screenshot showing document and printout
Comment 9 Germán Poo-Caamaño 2013-05-26 23:18:18 UTC
*** Bug 696353 has been marked as a duplicate of this bug. ***
Comment 10 Germán Poo-Caamaño 2013-05-26 23:23:32 UTC
Having "Print Preview" and "Print" not honouring /CropBox (and/or /BleedBox) but doing it when viewing the document can be confusing for users.  Although showing crop marks could desirable in some cases for printed documents, we should find a better way to doing it.
Comment 11 Germán Poo-Caamaño 2013-10-27 00:46:41 UTC
*** Bug 710861 has been marked as a duplicate of this bug. ***
Comment 12 Germán Poo-Caamaño 2013-10-27 00:50:16 UTC
As I said in Bug 710861:

Set the option "Page Scaling: Fit to Printable Area".
Comment 13 Adrian Johnson 2013-12-30 22:16:49 UTC
A patch to fix this is at https://bugs.freedesktop.org/show_bug.cgi?id=72312#c50
Comment 14 Germán Poo-Caamaño 2015-01-22 19:27:23 UTC
Felix: Please, may you try a newer version of cairo?
Comment 15 Germán Poo-Caamaño 2015-10-07 22:55:30 UTC
*** Bug 756111 has been marked as a duplicate of this bug. ***
Comment 16 Skippy le Grand Gourou 2015-10-08 07:40:23 UTC
Using "fit to printable area" as suggested in comment 12 won't help, at least for two reasons :
- the MediaBox still appears if the CropBox dimensions are not proportional to the selected paper dimensions ;
- such a workaround would be relevant only if you don't care of the absolute dimensions of the print.
Comment 17 Germán Poo-Caamaño 2016-09-30 13:06:47 UTC
Adrian,

What do you think about comment 16?
Comment 18 GNOME Infrastructure Team 2018-05-22 14:13:50 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/evince/issues/217.