Closed Bug 1268430 Opened 8 years ago Closed 8 years ago

Silentprinting causes only a white screen to be printed if trying to print from Javascript

Categories

(Firefox :: Untriaged, defect)

46 Branch
x86
Windows 10
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: martin, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36

Steps to reproduce:

1. open about:config in firefox 46
2. set print.always_print_silent to true
3. Open any Webpage
4. try to print page from Javascript with window.print();



Actual results:

 only a white page gets printed


Expected results:

should print the page or iframe like it did with firefox 45
OS: Unspecified → Windows 10
Hardware: Unspecified → x86
I tried with FF46 32b, it works, the page is fully printed.

Could you test with a fresh profile, please.
https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles
Flags: needinfo?(martin)
Thanks for the reply,

I tested it with a fresh profile and can confirm that it works then.
Do you have any Idea why that happens in my default Profile as we also have like 5 Customers which have exactly the same issue. Could there be some migration issues with older profiles?

If I can be of any further help just let me know.

Best regards,

Martin Lang
Hard to say, maybe bad prefs about printing.

Could you test in safe mode:
https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode

If that works, you can reset your profile to keep only private data:
https://support.mozilla.org/en-US/kb/reset-firefox-to-fix-most-problems
Hello Loic,

i found the issue it the

user_pref("print.printer_Drucker_CoWo_Space.print_resolution", 1515870810);

key inside the about:config which for some reason got changed to that large number instead of being the 600 dpi which is set inside the new profile.

I still don´t understand why it works with that high setting, if I keep the print dialog enabled.
Maybe it checks the printer settings as soon as the dialog opens and adjusts its settings to the selected printer.

Best regards,

Martin Lang
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Flags: needinfo?(martin)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.