Printer Error: An error occurred while printing
Categories
(Core :: Printing: Output, defect, P3)
Tracking
()
People
(Reporter: philipp, Unassigned)
Details
(Keywords: regression)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36
Steps to reproduce:
- Use Windows 10.0.18363 Home x64 and Firefox, tried {main installation at 74.0.1 x64 German, same in Safe Mode, Portable 74.0.0 German with a fresh profile, Nightly 76.0a1 (2020-04-05) x64 English, Nightly 76.0a1 (2020-04-05) (32-Bit) German}
- Open a site, tried {New-tab page, example.com, bank's website}
- Either Ctrl+P or Menu > Print (the preview looks fine) > Print
- In the printing dialog, select a printer, tried {real Brother laser printer, Adobe PDF printer, Microsoft Print to PDF}. Press "Print" to confirm.
Actual results:
The error message "An error occurred while printing" entitled "Printer Error" appears.
In case of the Adobe PDF printer, the printer's progress window opens but halts progress at ~20% and all I can do is close it.
Real printer does not print. PDF printer generates a corrupt PDF file of size 0.
Things that do work:
- Anything but Firefox (Chrome, Edge, Word, ...) with any printer
- Printing the about:support or about:config page with any printer in any Firefox. Maybe this uses a different rendering? Different font? Output looks fine for these two pages. Note again that about:newtab does not work.
Noticed that v47 works, ran bisection on printing about:newtab. Works in 2017-12-04 (88b2d7276416f8b69191ca5fb1b5c670ec8178b8), broken in 2017-12-05 (18a9cb5cb32d0e8031d0a80901b199d5e9827d83).
Side note: With version 2017-12-05 through at least 12-19 it even crashed Firefox when printing {about:newtab or example.com}. First the usual error message with the tab crashed in the background. Clicking the error message away then brought the rest of the browser down too. This is different from say 2018-01-10 or today's versions, where the tab and browser stay alive despite the error message.
Glanced over the "pushlog", not sure if I interpreted the commit range correctly. Suspect commit: 18a9cb5cb32d0e8031d0a80901b199d5e9827d83
Happy debug further sub-ranges (mozregression said it couldn't find any more) or patches. It's not my own computer on which this problem occurs though, so further debugging has a 1-2 day delay.
Expected results:
Prints without error.
Potentially related:
https://bugzilla.mozilla.org/show_bug.cgi?id=1026409
https://bugzilla.mozilla.org/show_bug.cgi?id=1578371
Is there a place where Firefox writes a more useful log output than just "Printer error"?
+Alex Not sure if you have a hunch what this might be about. Is your change (https://hg.mozilla.org/mozilla-central/rev/87f5eb24ef4b510fa73db427e80bc011f6160bde) about "printing" in the sense of printer devices that produce paper/PDF?
Comment 2•5 years ago
|
||
Bugbug thinks this bug is a regression, but please revert this change in case of error.
Comment 3•5 years ago
•
|
||
Is there a place where Firefox writes a more useful log output than just "Printer error"?
I don't think so, but we could at least report what the nsresult is in https://searchfox.org/mozilla-central/rev/a4d62e09a4c46aef918667fa759bf9ae898dc258/toolkit/components/printing/content/printUtils.js#310 to help narrow down where the error is coming from.
Comment 4•5 years ago
|
||
Because this bug's Severity has not been changed from the default since it was filed, and it's Priority is P3 (Backlog,) indicating it has been triaged, the bug's Severity is being updated to S3 (normal.)
Comment 5•5 years ago
|
||
(My apologies I neglected this for so long. Unfortunately I'm no longer at Mozilla and wasn't checking regularly.)
Yes, the change you linked does in fact relate to printing with paper :-) Unfortunately I do not have the time to investigate further.
Comment 6•5 years ago
|
||
Hi Phillip,
I've just tried replicating this issue on my end, I'm using windows 10 pro, firefox 82.0a1 (2020-08-25) (64-bit), I chose "microsoft print to pdf" option, and then clicked print, and no error was displayed. Can you try that option too?
Please test if the issue occurs to you in safe mode (add-ons disabled). Here is a link that can help you do that:
https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode
If the issue persists, also test it using a fresh profile, you can find the steps to do that below:
https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles?redirectlocale=en-US&redirectslug=Managing-profiles#w_starting-the-profile-manager
Would you also attach your about:support information?
Best regards,
Clara
I can confirm that this does not reproduce anymore with Firefox 80.0.1 x64 and Windows 10.0.19041.
Description
•