Open Bug 545940 Opened 15 years ago Updated 1 year ago

Cannot set two-sided printing under Mac and Ubuntu

Categories

(Core :: Printing: Setup, defect)

x86
All
defect

Tracking

()

People

(Reporter: bwpearre, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.6) Gecko/20100202 Iceweasel/3.5.6 (like Firefox/3.5.6; Debian-3.5.6-2)
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.6) Gecko/20100202 Iceweasel/3.5.6 (like Firefox/3.5.6; Debian-3.5.6-2)

I have a duplex printer (HP DeskJet 6980).  CUPS knows that the duplexer is installed.  All other applications either allow me to select two-sided printing, or don't ask and CUPS duplexes the job by default.  Firefox, however, prints single-sided.  I have tested with -safe-mode and with a clean install.

Workaround: print to PDF and get Acroread or etc to print.



Reproducible: Always

Steps to Reproduce:
1. Load a page
2. File / Print...
3. Page Setup

"Two-sided" is blank.  I click on it, and see only "One-sided".

Whether I leave it blank or select One-sided, the duplexer is disabled.
Actual Results:  
One-sided printing.

Expected Results:  
Either give me an option to control two-sided printing, or let CUPS handle the dirty work.
Reporter, are you still seeing this issue with Firefox 3.6.13 or later in safe mode? If not, please close. These links can help you in your testing.
http://support.mozilla.com/kb/Safe+Mode
http://support.mozilla.com/kb/Managing+profiles

You can also try to reproduce in Firefox 4 Beta 8 or later, there are many improvements in the new version, http://www.mozilla.com/en-US/firefox/all-beta.html
Whiteboard: [CLOSEME 2011-1-30]
Now running proper Firefox 3.6.13 (still on latest Debian Sid).

Same problem--the only option is "One-sided".  But Firefox is printing two-sided.  It just doesn't seem to know it?!
Whiteboard: [CLOSEME 2011-1-30]
Version: unspecified → 3.6 Branch
Reporter, I'm moving this to the printing setup component, but do you mind retesting with Firefox 4 in the meantime?
Component: General → Printing: Setup
Product: Firefox → Core
QA Contact: general → printing.setup
Version: 3.6 Branch → 1.9.2 Branch
We encounter this issue while testing Firefox 31.6.0 ESR under Ubuntu 14.04 LTS 32-bit and Mac OS X 10.9.5.
The issue also occurs with latest Nightly 39.0a1, Developer Edition 38.0a2, Firefox 37 RC build 2 and Firefox 36.0.4 (release).

On Linux, Print - Page Setup tab, the Two-sided drop-down only shows cannot be opened, One Sided is the only available option.
Under Mac, Layout section, Two-sided option is disabled.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → All
Summary: Cannot set two-sided printing → Cannot set two-sided printing under Mac and Ubuntu
Version: 1.9.2 Branch → Trunk
(In reply to Petruta Rasa [QA] [:petruta] from comment #4)
> We encounter this issue while testing Firefox 31.6.0 ESR under Ubuntu 14.04
> LTS 32-bit and Mac OS X 10.9.5.
> The issue also occurs with latest Nightly 39.0a1, Developer Edition 38.0a2,
> Firefox 37 RC build 2 and Firefox 36.0.4 (release).
> 
> On Linux, Print - Page Setup tab, the Two-sided drop-down only shows cannot
> be opened, One Sided is the only available option.
> Under Mac, Layout section, Two-sided option is disabled.

Could you possibly attach the PPD file of the printer for which this occurs? 
On Linux/Ubuntu, it should usually be under /etc/cups/ppd/<name_of_the_printer>.ppd when the printer is set up on the system.
There are two other bug reports that look similar: Bug 965126 and Bug 358393
(In reply to m.weghorn from comment #5)
> Could you possibly attach the PPD file of the printer for which this occurs? 
> On Linux/Ubuntu, it should usually be under
> /etc/cups/ppd/<name_of_the_printer>.ppd when the printer is set up on the
> system.

The printer we use is not directly installed on the system, we connect to it via a cups server using the local network (access with domain username and pwd) so I didn't found anything related to ppd.
(In reply to Petruta Rasa [QA] [:petruta] from comment #7)
> The printer we use is not directly installed on the system, we connect to it
> via a cups server using the local network (access with domain username and
> pwd) so I didn't found anything related to ppd.

If the printer is set up on a CUPS server running on another machine, the PPD file is probably stored on the server (in case a PPD file is used). You should be able to get it either by logging in to the server and getting it there as described in comment:5 or using the following steps on the client from which the printer is used:

1) get the device URI of the printer, e.g. by running the command "lpstat -v" in a terminal.
A sample output line for the printer "myprinter" on the server "myserver" in the local network might be the following:
ipps://myserver.local:631/printers/myprinter

2) The PPD is usually available from the same resource path on the server, followed by the suffix ".ppd". Also, use HTTP/HTTPS as protocol, even if the device uri starts with "ipp" or "ipps".
For the sample printer mentioned above, the URI from which the PPD can be downloaded would thus be http://myserver.local:631/printers/myprinter.ppd
Thanks for the info.
(In reply to Petruta Rasa [QA] [:petruta] from comment #9)
> Created attachment 8664821 [details]
> PrinterRep101Parter.ppd

Thank you for attaching the PPD file of the printer (Kyocera ECOSYS P2135dn). I just tried to reproduce the problem under Debian Jessie, but for me the "Duplex" options are available in the print dialog. I tried that with Firefox 41 downloaded from the Mozilla site and with Iceweasel 38 (the Debian version of Firefox) that comes shipped with Debian.

Steps I took:

1) set up the printer on the system using the following command on the command line (the URI is an imagined one, the printer does not exist in reality):
sudo lpadmin -p test-bug-545940 -v ipp://printer1.example.org/ipp -E -P PrinterRep101Parter.ppd
2) open Firefox and open print dialog for any webpage
3) select the printer "test-bug-545940" from the printer list
4) go to the "Page Setup Tab" and check the "Two-sided option"

For me, all of the options "One Sided", "Long Edge (Standard)" and "Short Edge (Flip)" are available.

As far as I understand, the problem you described does not occur for me. Is this true or did I misunderstand the bug description and your bug is a different one?

Could you possibly try to check to configure the printer directly on your Ubuntu machine with the attached PPD file and check whether the problem is still present?
It was indeed some printer option that wasn't correctly set ("Duplexer" was not ticked). It admin managed to find it and all the three options were available after that. 

Same option worked for Mac OS X 10.9.5 too.

Thanks!
(In reply to Petruta Rasa [QA] [:petruta] from comment #11)
> It was indeed some printer option that wasn't correctly set ("Duplexer" was
> not ticked). It admin managed to find it and all the three options were
> available after that. 
> 
> Same option worked for Mac OS X 10.9.5 too.
> 
> Thanks!

You're welcome. Nice to hear that it works for you now.

@Ben: Do you still experience this issue? If so, could you please attach the printer's PPD file?
Flags: needinfo?(bwpearre)
Severity: normal → S3

Clear a needinfo that is pending on an inactive user.

Inactive users most likely will not respond; if the missing information is essential and cannot be collected another way, the bug maybe should be closed as INCOMPLETE.

For more information, please visit BugBot documentation.

Flags: needinfo?(bwpearre)
You need to log in before you can comment on or make changes to this bug.