<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [patch] pdftops: Fixes/improvements for -origpagesizes"
href="https://bugs.freedesktop.org/show_bug.cgi?id=72312#c15">Comment # 15</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [patch] pdftops: Fixes/improvements for -origpagesizes"
href="https://bugs.freedesktop.org/show_bug.cgi?id=72312">bug 72312</a>
from <span class="vcard"><a class="email" href="mailto:till.kamppeter@gmail.com" title="Till Kamppeter <till.kamppeter@gmail.com>"> <span class="fn">Till Kamppeter</span></a>
</span></b>
<pre>Adrian, I have done a test with my HP Color LaserJet CM3530 MFP now. I have
used pdftops with my original patch. With the output of pdftops (both "pdftops
-origpagesizes" and "pdftops -paper A4") duplex printing does not work. If I
comment out the pdfSetupPaper macro calls in the PageSetup sections of each
page, duplex works. so the pdfSetupPaper macro actually breaks duplex.
So what has to be done is to do a setpagedevice of the page size only if it has
changed compared to the previous page. Unfortunately, I have not enough
knowledge in PostScript programming to fix the macro, so I am asking you
whether you could fix it.
I am not sure whether the macro only does the equivalent of
<</PageSize[595 842]/ImagingBBox null>>setpagedevice
In this case we could simply skip its call when the paper size does not change
(at least when I comment it out I get a correct printout and duplex works).</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>