Bug 1071267 - CUPS pdftops: duplex to duplex-capable Postscript printer prints single-sided
Summary: CUPS pdftops: duplex to duplex-capable Postscript printer prints single-sided
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: poppler
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Marek Kašík
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-28 12:10 UTC by Tim Waugh
Modified: 2015-06-06 00:07 UTC (History)
5 users (show)

Fixed In Version: poppler-0.24.3-7.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of: 1068896
Environment:
Last Closed: 2015-06-06 00:07:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
FreeDesktop.org 72312 0 None None None Never

Description Tim Waugh 2014-02-28 12:10:29 UTC
See bug #1068896, in particular bug #1068896 comment #5:

==>
Poppler duplex issue: https://bugs.freedesktop.org/show_bug.cgi?id=72312


GS duplex issue: http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=5ddd13eda3853d53315b7ba656ccd32ad9814c34

I think my version of ghostscript does not have the duplex fix

$ rpm -qi  ghostscript
Name        : ghostscript
Version     : 9.10
Release     : 5.fc20
<==

The ghostscript duplex fix has been verified, using the pdftops-renderer=gs job option. When this option is not present for a submitted job, the poppler renderer will be used for some makes of printer including Brother.

Comment 1 Marek Kašík 2014-03-18 14:07:59 UTC
Hi Tim,

which PPD, command and pdf file I need to use to see the bug? I tried some combinations but I was not successful much.

Marek

Comment 2 Tim Waugh 2014-03-19 12:22:50 UTC
This PPD file: bug #1068896 comment #1.
Make a 2-page PDF file.
To test it, run the filters by hand:

/usr/lib/cups/filter/pdftopdf 1 me '' 1 'sides=two-sided-long-edge' 2pages.pdf > out.pdf
/usr/lib/cups/filter/pdftops 1 me '' 1 'sides=two-sided-long-edge' out.pdf > out.ps

Then 'grep pdfSetupPaper out.ps' should only give one line of output, not two.

Comment 3 Trond H. Amundsen 2014-10-09 13:23:17 UTC
Hi,

We're seeing this bug in RHEL7, users are complaining. I tried the test in comment #2 and got two lines of output.

-trond

Comment 4 Orion Poplawski 2015-04-29 22:29:02 UTC
I'm confused - freedesktop bug 72312 is the fix or the cause of this issue?

Comment 5 Tim Waugh 2015-04-30 09:57:47 UTC
Looks like it ought to be the fix?

Comment 6 Orion Poplawski 2015-05-05 19:30:31 UTC
The grep test is insufficient to check for the fix, since the fix is in the pdfSetupPaper routine.  The fixed output should have:

/pdfSetupPaper {
  % Change paper size, but only if different from previous paper size otherwise
  % duplex fails. PLRM specifies a tolerance of 5 pts when matching paper size
  % so we use the same when checking if the size changes.

Which I see on F21 with poppler-0.26.2-9.fc21.x86_64 but not in F20 with poppler-0.24.3-6.fc20.x86_64.

Comment 7 Marek Kašík 2015-05-18 14:47:56 UTC
Hi,

I had some problems with reproducing this bug but now it should be fixed. I've pushed these 2 commits to F20:

http://cgit.freedesktop.org/poppler/poppler/commit/?id=fe49033c9bd2103c13d4eb59983e06fdcdd33a8d

http://cgit.freedesktop.org/poppler/poppler/commit/?id=b1da7e20dcef78ef6036418b37a47ba3f8818453

These fix the duplex printing for me on HP Color LaserJet CP3225x (Postscript driver).

F21 should have this already fixed.

Regards

Marek

Comment 8 Fedora Update System 2015-05-18 14:50:34 UTC
poppler-0.24.3-7.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/poppler-0.24.3-7.fc20

Comment 9 Fedora Update System 2015-05-19 16:20:22 UTC
Package poppler-0.24.3-7.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing poppler-0.24.3-7.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-8500/poppler-0.24.3-7.fc20
then log in and leave karma (feedback).

Comment 10 Fedora End Of Life 2015-05-29 11:05:46 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '20'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 20 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 11 Fedora Update System 2015-06-06 00:07:02 UTC
poppler-0.24.3-7.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.