[Bug 776080] New: Can't print two side documnets on a HP laserjet printer
https://bugzilla.novell.com/show_bug.cgi?id=776080 https://bugzilla.novell.com/show_bug.cgi?id=776080#c0 Summary: Can't print two side documnets on a HP laserjet printer Classification: openSUSE Product: openSUSE 12.2 Version: RC 2 Platform: x86-64 OS/Version: openSUSE 12.2 Status: NEW Severity: Major Priority: P5 - None Component: Printing AssignedTo: jsmeix@suse.com ReportedBy: fdan52@comcast.net QAContact: jsmeix@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20100101 Firefox/14.0.1 Can't print two sided on my hp 4000n printer. I have installed the print driver provided using YAST. I have set the device parameters for duplex, edge and tumbling. The test pages printed correctly. I attempted to print web pages, text files, source code where I wanted dual side printing, I was not able to set the 2-sided printing in the print app. and all output was single sided. Reproducible: Always Steps to Reproduce: 1. 2. 3. Actual Results: No dual side printing options given on print application. All printer output is single sided. Expected Results: Option for 2-sided printing provided, Print on 2-sides of a page. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c1
Frank Daniel
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c2
Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c3
--- Comment #3 from Frank Daniel
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c4
Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c
Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c5
--- Comment #5 from Frank Daniel
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c6
--- Comment #6 from Frank Daniel
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c7
Frank Daniel
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c8
--- Comment #8 from Eric Schott
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c9
Eric Schott
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c10
--- Comment #10 from Eric Schott
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c11
--- Comment #11 from Eric Schott
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c12
--- Comment #12 from Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c13
--- Comment #13 from Eric Schott
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c14
Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c15
--- Comment #15 from Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c16
--- Comment #16 from Eric Schott
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c17
--- Comment #17 from Eric Schott
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c18
Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c19
--- Comment #19 from Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c20
--- Comment #20 from Eric Schott
Eric Schott,
only as a shot in the dark, try out if this works for you:
Was the pun about "shot" intended? :)
# echo -e "page1\fpage2" | a2ps -1 -M a4 -o- \ | ps2pdf - - | pdf2ps - - \ | lp -d dell5110cn -o Duplex=DuplexNoTumble
This produced a duplex output as intended. Very good detective work. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c21
--- Comment #21 from Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c22
--- Comment #22 from Eric Schott
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c23
--- Comment #23 from Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c24
Eric Schott
now you need to verify if calling pdftops with -duplex is required to make duplex printing work regardless that afterwards CUPS will add the PostScript snippet to also enable duplex printing.
pdftops needs its input in a regular file (usual requirement when processing PDF files which have a reference "xref" table at the end) therefore the test has now two steps:
# echo -e "page1\fpage2" | a2ps -1 -M Letter -o- \ | ps2pdf - /tmp/test.pdf
# pdftops -level3 -duplex /tmp/test.pdf - \ | lp -d dell5110cn -o Duplex=DuplexNoTumble
One more shot in the dark:
If the Dell Color Laser 5110cn PS is only a PostScript Level 2 printer try out if
# pdftops -level2 -duplex /tmp/test.pdf - \ | lp -d dell5110cn -o Duplex=DuplexNoTumble
or even
# pdftops -level2 /tmp/test.pdf - \ | lp -d dell5110cn -o Duplex=DuplexNoTumble
Sorry for the delay .. other fires to fight here. But I am sure you have been occupied. I tried several tests: 1) I did your requested items and all failed to duplex. 2) I created an openSUSE 12.1 virtual machine with the bare packages need to run a print server. This did duplex correctly. I used the same PPD and test.pdf from my 12.2 machine. 3) On my 12.2 machine, I downgrade poppler-tools to 0.18.0-2.6.1 from 12.1 Updates repo and installed libpoppler18-0.18.0-2.6.1. Duplex works correctly.
From this, I am comfortable making the claim this is either a Poppler problem or a Dell printer problem. I would day most likely Poppler.
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c25
Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c26
James Moe
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c27
Warren Jones
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c
Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c28
zorkiaa zorkiaa
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c29
--- Comment #29 from Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c30
Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c31
--- Comment #31 from Stefan Brüns
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c32
Johannes Meixner
From Benjamin Brunner I got the openSUSE build service request 143497 to review this change.
From what I read there there is a check during "configure"
I do not have the time to reverse-engineer in detail how exactly this fix works so that I ask here for some explanation how "BuildRequires: poppler-tools" in the package cups actually makes it work. On a first glance it seems it is as follows: It seems the issue is related to https://www.cups.org/str.php?L3689 that disables using '-origpagesizes' if poppler-tools are not installed in the build system. Therefore - as far as I currently understand it - adding "BuildRequires: poppler-tools" makes the build-time check succeed when the installed Poppler is really new enough to contain the "-origpagesizes" option in /usr/bin/pdftops which causes that the CUPS filter /usr/lib/cups/filter/pdftops uses "-origpagesizes" when calling /usr/bin/pdftops. Stefan Brüns, is my understanding correct? Regarding adding "BuildRequires: poppler-tools": At some time in the past we had a build dependency cycle between cups and poppler (see cups.changes) so that adding "BuildRequires: poppler-tools" may re-introduce such a build dependency cycle again. Furthermore: Adding "BuildRequires: poppler-tools only to let a configure check succeed looks like overkill, compare what I wrote in cups.changes some time ago: ------------------------------------------------------------------- - full_path_to_configure_with-pdftops.patch adds support to specify a full path in 'configure --with-pdftops=/usr/bin/pdftops' to avoid 'BuildRequires: xpdf-tools' which would bloat the build system but would be only needed to satisfy 'AC_PATH_PROG(CUPS_PDFTOPS, pdftops)' in cups-pdf.m4 if only 'configure --with-pdftops=pdftops' was possible (Novell/Suse Bugzilla bnc#526847). ------------------------------------------------------------------- I think the whole idea of such a check in the build system is broken because such a check would actually have to be done during runtime because what really matters is whether or not /usr/bin/pdftops on the end-user system supports '-origpagesizes' which means the check would actually have to happen in /usr/lib/cups/filter/pdftops. But I do not have the time to fix this mess properly so that for me adding "BuildRequires: poppler-tools" is o.k. if it does not cause issues in our whole build system. Benjamin Brunner, please check if adding "BuildRequires: poppler-tools" causes a build dependency cycle. If adding "BuildRequires: poppler-tools" does not cause a severe issues in our build system, I accept it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c33
Benjamin Brunner
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c34
--- Comment #34 from Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c35
--- Comment #35 from Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c36
--- Comment #36 from Stefan Brüns
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c37
--- Comment #37 from Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c38
--- Comment #38 from Stefan Brüns
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c39
--- Comment #39 from Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c40
--- Comment #40 from Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c41
--- Comment #41 from Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c42
--- Comment #42 from Eric Schott
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c43
--- Comment #43 from Eric Schott
Only for the log: Request 143497 was accepted by msmeissn so that currently there is the fixed cups as package cups.openSUSE_12.2_Update in project openSUSE:Maintenance:1147
Results of tests with packages in Maint-1147 - Tests per comment 13: - ps-test & pdf-test with Duplex=DuplexNoTumble: Correctly duplexes long edge - ps-test & pdf-test with Duplex=DuplexTumble: Correctly duplexes short edge - ps-test & pdf-test with Duplex=None: Correctly printes on two sheets - ps-test & pdf-test with sides=two-sided-long-edge: Correctly duplexes long edge - ps-test & pdf-test with sides=two-sided-short-edge: Incorrect: duplexes on long edge - ps-test & pdf-test with sides=one-sided: Incorrect: duplexes on long edge - For the above, /etc/cups/lpoptions had Default dell5110cn Duplex=DuplexNoTumble sides=two-sided-long-edge. I may test with more lpoptions defaults later. - Tests per comment 10: - Libreoffice with PDF output filter correctly duplexes long and short edges - Gedit correctly duplexes long and short edges (CUPs from remote client) - Okular: Duplexes, but always on long edge. Possibly related to above. I appreciate the work and headway. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c44
--- Comment #44 from Eric Schott
Results of tests with packages in Maint-1147 - Tests per comment 13: - ps-test & pdf-test with Duplex=DuplexNoTumble: Correctly duplexes long edge - ps-test & pdf-test with Duplex=DuplexTumble: Correctly duplexes short edge - ps-test & pdf-test with Duplex=None: Correctly printes on two sheets - ps-test & pdf-test with sides=two-sided-long-edge: Correctly duplexes long edge - ps-test & pdf-test with sides=two-sided-short-edge: Incorrect: duplexes on long edge - ps-test & pdf-test with sides=one-sided: Incorrect: duplexes on long edge - For the above, /etc/cups/lpoptions had Default dell5110cn Duplex=DuplexNoTumble sides=two-sided-long-edge. I may test with more
I changed /etc/cups/lpoptions to have "Default dell5110cn sides=two-sided-long-edge" and all the above tests duplex correctly. Very happy here. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c45
--- Comment #45 from Eric Schott
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c46
--- Comment #46 from Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c48
Lyle Bickley
Only for the log: Request 143497 was accepted by msmeissn so that currently there is the fixed cups as package cups.openSUSE_12.2_Update in project openSUSE:Maintenance:1147
After upgrading from opensuse 12.1 to 12.2 I had similar issues with my HP LaserJet P3005 regarding failures to duplex print when using browsers, etc. After applying the appropriate (matching my configuration) RPM's from Maintenance:1147, duplex printing now works correctly. Tested portrait, landscape, DuplexNoTumble and DuplexTumble. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c50
Benjamin Brunner
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c51
--- Comment #51 from Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c52
--- Comment #52 from Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c53
--- Comment #53 from Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c54
--- Comment #54 from Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c55
--- Comment #55 from Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=776080
https://bugzilla.novell.com/show_bug.cgi?id=776080#c56
--- Comment #56 from Bernhard Wiedemann
participants (1)
-
bugzilla_noreply@novell.com