Closed Bug 1326531 Opened 8 years ago Closed 8 years ago

can't print double-sided on some printers

Categories

(Core :: Printing: Setup, defect)

50 Branch
Unspecified
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1303051

People

(Reporter: andrew.dingwall, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:50.0) Gecko/20100101 Firefox/50.0 Build ID: 20161208153507 Steps to reproduce: Firefox on a macbook running MAC OS El Capitan. The macbook is configured to use three printers: HP Laserjet 5000, HP Officejet 7610, Brother HL-L2340DW. All three printers are able to print double-sided using a duplexer. When I want to print a webpage in double-sided mode, I select File->Print to display the Print dialog; then select the appropriate printer, check the "Two-sided" box and press the "Print" button. Actual results: Double-sided printing works fine on the LJ5000 printer. It used to work OK on the OJ7610 and Brother printers as well. But now (from around Firefox v50.0) these printers only print in single-sided mode even when the "Two-sided" box is checked in the Print dialog. Double-sided printing works OK on all three printers when printing from other MAC OS programs; for example: MS Word, MS Excel, Adobe Acrobat Reader, Safari; or even something like: groff -Tps ... | lpr -P brother -o Duplex=DuplexNoTumble If I want to print double-sided from Firefox on the Brother or OJ7610 printers, I have to go to File->Print, then select PDF->Save as PDF, then open the PDF file with Acrobat Reader and print it from there. Expected results: When a printer has duplex capability and the "Two-sided" box is checked in the Print dialog, Firefox should print in double-sided mode.
Component: Untriaged → Printing: Setup
OS: Unspecified → Mac OS X
Product: Firefox → Core
Andrew, thanks for taking the time to report this. Would you mind seeing if you get the same problem in Developer Edition: https://www.mozilla.org/en-US/firefox/developer/
Flags: needinfo?(andrew.dingwall)
Hi Bob, Thanks for your prompt reply. Looks like duplex printing in Developer Edition works as expected on my Brother printer. I don't have access to the OJ7610 and LJ5000 printers just now (they are installed at a different location). But will be visiting that location in a couple of weeks' time; will test it then and get back to you. thanks andrew
Thanks Andrew. Haik - I suspect this might be something else fixed by your changes (or maybe a duplicate).
Flags: needinfo?(andrew.dingwall) → needinfo?(haftandilian)
Yes, it makes sense that this problem was fixed by the fix for bug 1303051 which is available in Developer Edition right now. In build 50/51, we don't call nsPrintSettings::SetDuplex() after displaying the print dialog so the correct value of duplex is not sent to the child for sending. With the fix, all the print settings are saved to a pref after displaying the print dialog, then restored from the pref for the actual print.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Flags: needinfo?(haftandilian)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.