<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Printing of certain PDF files does not work with "fit-to-page" because of wrong BoundingBox values in the PostScript"
href="https://bugs.freedesktop.org/show_bug.cgi?id=87161">87161</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Printing of certain PDF files does not work with "fit-to-page" because of wrong BoundingBox values in the PostScript
</td>
</tr>
<tr>
<th>Product</th>
<td>poppler
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>critical
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>general
</td>
</tr>
<tr>
<th>Assignee</th>
<td>poppler-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>stefan.brandner@gmx.at
</td>
</tr></table>
<p>
<div>
<pre>I am using Opensuse 13.2 and certain pdf files do not print correct.
The same pdf files worked fine with Opensuse 13.1.
I filed a printing bug at Opensuse Bugzilla and it was found that poppler
creates wrong Bounding Box values when fit-to-page is used.
Opensuse 13.1: poppler 0.24.3
Opensuse 13.2: poppler 0.26.5
<a href="https://bugzilla.opensuse.org/show_bug.cgi?id=908624">https://bugzilla.opensuse.org/show_bug.cgi?id=908624</a>
All used files can be found at this bug.
Johannes Meixner wrote in the bug:
I think the DSC values are not correct in print-job-data_132.save.
print-job-data_132.save contains
------------------------------------------------------------------------------
%%BoundingBox: 0 0 595 842
%%PageBoundingBox: 0 0 311 542
%%PageBoundingBox: 0 0 317 548
------------------------------------------------------------------------------
Ghostscript shows the actual BoundingBox values for the two pages:
------------------------------------------------------------------------------
# gs -sDEVICE=bbox -dBATCH -dNOPAUSE print-job-data_132.save
%%BoundingBox: 142 149 453 692
%%BoundingBox: 138 147 456 695
------------------------------------------------------------------------------
When I change the BoundingBox values in print-job-data_132.save
as follows:
------------------------------------------------------------------------------
%%BoundingBox: 138 147 456 695
%%PageBoundingBox: 142 149 453 692
%%PageBoundingBox: 138 147 456 695
------------------------------------------------------------------------------
then the CUPS printing option fit-to-page works for this file.
I.e. the BoundingBox values in the PostScript are wrong.
The PostScript is produced by poppler pdftops version: 0.26.5
because print-job-data_132.save contains:
------------------------------------------------------------------------------
%Produced by poppler pdftops version: 0.26.5 (<a href="http://poppler.freedesktop.org">http://poppler.freedesktop.org</a>)
%%Creator: pdftk 2.02 - www.pdftk.com
%%Title: Dirichlet.pdf
------------------------------------------------------------------------------
According to my analysis it means:
Printing of certain PDF files does not work with "fit-to-page"
because of wrong BoundingBox values in the PostScript</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>