Networked printing no longer working in Firefox in Windows 10

Please post your problem description here

Moderator: Barb@Invincea

Post Reply
cornflake
Posts: 231
Joined: Fri May 13, 2011 5:44 pm

Networked printing no longer working in Firefox in Windows 10

Post by cornflake » Thu Nov 09, 2017 3:12 am

In Windows 10 recently sometime within the last month or two I guess my networked printer stopped printing properly in sandboxed Firefox. I was using Sandboxie 5.20 and upgraded to 5.22 today but it hasn't made a difference. Right now I'm running Windows 10 "Version 1703 (OS Build 15063.674)" and Sandboxie 5.22 64-bit and Firefox 56.0 32-bit. Chrome still works fine. Both Firefox and Chrome still work fine to print in Windows 8.1.

Nothing in my configuration has changed. I have a global OpenFilePath=C:\Windows\Temp and the Firefox section looks like this:

Code: Select all

[Firefox]

Enabled=y
ConfigLevel=7
AutoRecover=y
Template=Firefox_Force
Template=BlockPorts
Template=LingerPrograms
Template=Firefox_Phishing_DirectAccess
Template=AutoRecoverIgnore
RecoverFolder=%{374DE290-123F-4565-9164-39C4925E467B}%
RecoverFolder=%Personal%
RecoverFolder=%Favorites%
RecoverFolder=%Desktop%
BorderColor=#00FFFF,off
BoxNameTitle=n
ForceProcess=<FirefoxPrograms>
DropAdminRights=y
On some pages I see "An error occurred while printing". On other pages it appears to work to print but nothing is actually printed and the file size has some weird amount like 223 bytes or 334 bytes or something. It will say "Printing" in the queue but then it errors, I think because the data is corrupt. For example take this file which prints fine in Windows 8.1 Chrome and Firefox, and Windows 10 Chrome but not Firefox:

Code: Select all

https://www.cms.gov/Medicare/CMS-Forms/CMS-Forms/downloads/cms1490s-english.pdf
Is anyone running sandboxed Firefox in Windows 10 able to print that PDF form to a networked printer?

APMichael
Posts: 152
Joined: Sun Sep 07, 2014 5:54 am
Location: Germany

Re: Networked printing no longer working in Firefox in Windows 10

Post by APMichael » Thu Nov 09, 2017 6:11 am

Printing in Firefox needs the following:

1) Add to your Sandboxie.ini (Firefox section):

Code: Select all

OpenFilePath=firefox.exe,%UserProfile%\AppData\LocalLow\Mozilla\temp-*
2) Open Firefox outside Sandboxie,
type "about:config" and accept the risk,
search "sandbox",
switch "security.sandbox.content.level" from 3 to 2,
close Firefox.

cornflake
Posts: 231
Joined: Fri May 13, 2011 5:44 pm

Re: Networked printing no longer working in Firefox in Windows 10

Post by cornflake » Fri Nov 10, 2017 12:20 am

Thanks I will try that. I would prefer not to open my mozilla temp directory because I run multiple sandboxes with Firefox and I don't want them to get crisscrossed. Do you know why is that necessary now in Windows 10?

Barb@Invincea
Sandboxie Support
Sandboxie Support
Posts: 2337
Joined: Mon Nov 07, 2016 3:10 pm

Re: Networked printing no longer working in Firefox in Windows 10

Post by Barb@Invincea » Fri Nov 10, 2017 9:57 am

Hello cornflake,

This is not a Windows 10 issue, but a compatibility issue between Firefox and Sandboxie.
You can find more info here:
viewtopic.php?f=11&t=23902&start=75

The workaround should allow you to print.

Regards,
Barb.-

cornflake
Posts: 231
Joined: Fri May 13, 2011 5:44 pm

Re: Networked printing no longer working in Firefox in Windows 10

Post by cornflake » Sun Nov 12, 2017 3:31 pm

The line APMichael gave did allow me to print. I did not have to change security.sandbox.content.level.

Code: Select all

OpenFilePath=firefox.exe,%UserProfile%\AppData\LocalLow\Mozilla\temp-*
I don't understand why that is required now in Windows 10 but not Windows 8.1 if it is not a Windows 10 issue. Also I think you should fix it so that I can keep my sandboxes separate. In other words I don't think I should have to open up file paths.

Barb@Invincea
Sandboxie Support
Sandboxie Support
Posts: 2337
Joined: Mon Nov 07, 2016 3:10 pm

Re: Networked printing no longer working in Firefox in Windows 10

Post by Barb@Invincea » Mon Nov 13, 2017 10:47 am

Hello cornflake,

This is a known-issue and once a fix is found, it will be added to a beta/release.
Until then, if you want to print from Firefox, you'll need to use the workaround.

Regards,
Barb.-

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests