GNOME Bugzilla – Bug 649886
Printing of PDF includes crop marks which are not there before
Last modified: 2018-05-22 14:13:50 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.
Sorry forgot the versions: fm@thinkpad:~ $ rpm -q evince poppler evince-3.0.0-1.fc15.i686 poppler-0.16.5-1.fc15.i686
I can still reproduce this on todays Ubuntu 11.10. evince 3.2.1-0ubuntu2.2 libpoppler13 0.16.7-2ubuntu2
This is currently blocked by https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1030357
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?
(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
(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.
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.
Created attachment 225534 [details] screenshot showing document and printout
*** Bug 696353 has been marked as a duplicate of this bug. ***
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.
*** Bug 710861 has been marked as a duplicate of this bug. ***
As I said in Bug 710861: Set the option "Page Scaling: Fit to Printable Area".
A patch to fix this is at https://bugs.freedesktop.org/show_bug.cgi?id=72312#c50
Felix: Please, may you try a newer version of cairo?
*** Bug 756111 has been marked as a duplicate of this bug. ***
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.
Adrian, What do you think about comment 16?
-- 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.