Closed Bug 1705348 Opened 5 years ago Closed 5 years ago

print does not print or even trigger CUPS (broken saved print settings?)

Categories

(Core :: Printing: Setup, defect, P3)

Firefox 87
defect

Tracking

()

RESOLVED FIXED
90 Branch
Tracking Status
firefox90 --- fixed

People

(Reporter: germano.massullo, Assigned: emilio)

Details

Attachments

(4 files)

User Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:87.0) Gecko/20100101 Firefox/87.0

Steps to reproduce:

When I try to print a page, the printer does not start.
I tried to enable
LogLevel debug
in /etc/cups/cupsd.conf and restarting the CUPS service, but in journal logs there is not even CUPS receiving an input from Firefox.
This problem was not happening with the old Firefox print feature

System details:
Fedora 33
firefox-87.0-2.fc33.x86_64
cups-2.3.3op2-3.fc33.x86_64

The Bugbug bot thinks this bug should belong to the 'Core::Printing: Setup' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Printing: Setup
Product: Firefox → Core

Hmm, we're probably going to need more details on how to reproduce this, because I'm using Fedora 33 as well and it works here... Can you attach the contents of about:support to the bug? Does clearing the saved print settings help?

Flags: needinfo?(germano.massullo)

Also does printing from the system dialog work? That uses the old codepath so it ought to work (otherwise it might be a regression in Fedora somehow?)

Attached file about_support.txt
Flags: needinfo?(germano.massullo)

(In reply to Emilio Cobos Álvarez (:emilio) from comment #2)

Does clearing the saved print settings help?
how can I clear them?

Also does printing from the system dialog work?
How can I access to system dialog printing menu?

(In reply to Emilio Cobos Álvarez (:emilio) from comment #2)

Does clearing the saved print settings help?

how can I clear them?

Also does printing from the system dialog work?

How can I access to system dialog printing menu?

Attached image screenshot

There's a "print using the system dialog" at the bottom right of the print preview.

About clearing, there's a "Clear saved print settings" button in about:support.

One oddity of that about:support in comment 4 is that a lot of print.print_to_filenames are empty, which is slightly odd.

Clear saved print settings" button in about:support fixed the problem! Now Firefox prints!

Hmm... so that's good, at least :)

Also, great that we have a copy of those prefs in comment 4, so we can investigate a bit more...

Can you attach your about:support now, after clearing and printing? That should allow us to hopefully spot the difference that's causing this. Thanks!

Flags: needinfo?(germano.massullo)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: print does not print or even trigger CUPS → print does not print or even trigger CUPS (broken saved print settings?)
Flags: needinfo?(germano.massullo)

I think print.printer_Officejet_7110.print_to_file might be the culprit, because it'd try to print to an empty file... Does reverting that setting to true manually in about:config bring the problem back?

Flags: needinfo?(germano.massullo)
Severity: -- → S3
Priority: -- → P3

Setting print.printer_Officejet_7110.print_to_file to true triggers the problem

Flags: needinfo?(germano.massullo)

There are users with broken prefs (old bugs that are fixed perhaps?),
but anyhow there's no sensible reason to set printToFile to true for
users printing from the print dialog.

We were working around it for the PDF printer but there's no reason we
shouldn't do it for other printers.

Assignee: nobody → emilio
Status: NEW → ASSIGNED
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/44332367dd47 printToFile should only be true for the PDF printer. r=emalysz
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch

Hello, I am experiencing again being unable to print on Firefox 96.0
print.printer_Officejet_7110.print_to_file is setted to false. Trying printing from system dialog does not fix the problem
Should I open a new bugreport?

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

Attachment

General

Created:
Updated:
Size: