Page 1 of 1

Firefox 57 - I cannot print

Posted: Sun Dec 31, 2017 3:03 am
by cocoon
I looked for a solution to print outside the sandbox with sandboxed Firefox, but the solution that I saw in the forum which involves adding an entry in the sandboxie.ini file and in Firefox settings did not help.

Every time I try to print something in Firefox I see a message box
SBIE1319 Blocked spooler print to file, [11836] firefox.exe, \Device\HarddiskVolume2\Windows\Temp\HPVB3DE.tmp.vdf
SBIE1320 To allow print spooler to write outside the sandbox for this process, please double-click on this message line
Unfortunately, double-clicking on the line does not solve the problem.

I take this opportunity to wish all Sandboxie users, developers and supporters a Happy New Year!

Re: Firefox 57 - I cannot print

Posted: Sun Dec 31, 2017 6:42 am
by APMichael
Please add the following line to the sandboxie.ini:

Code: Select all

OpenFilePath=firefox.exe,%SystemDrive%\Windows\Temp\*.vdf
Happy New Year!

Re: Firefox 57 - I cannot print

Posted: Sun Dec 31, 2017 1:03 pm
by cocoon
Thank you for the suggestion. I tried it but it still doesn't work. I have to delete print files from the spool as none are printed. :(

Re: Firefox 57 - I cannot print

Posted: Mon Jan 01, 2018 5:44 am
by Guest10
See if adding this to the configuration for your sandbox will allow printing:

AllowSpoolerPrintToFile=y

Re: Firefox 57 - I cannot print

Posted: Mon Jan 01, 2018 6:17 am
by APMichael
cocoon wrote:
Sun Dec 31, 2017 1:03 pm
Thank you for the suggestion. I tried it but it still doesn't work. I have to delete print files from the spool as none are printed. :(
Strange! Did you stop all sandboxes and reload the configuration before printing? Or did you get another message box?

Re: Firefox 57 - I cannot print

Posted: Mon Jan 01, 2018 11:38 am
by cocoon
No luck with printing. I added the AllowSpoolerPrintToFile=y to my sandbox, but without any success.
I stopped all sandboxes and reloaded the configuration before printing. I got the message box again.
The files to be printed end up in the print spooler, and I have to clear them by running a batch file as Administrator (net stop spooler
del %systemroot%\System32\spool\printers\* /Q /F /S
net start spooler), otherwise I cannot print any other files.

EDIT: I found the following.
By disabling the preview of jobs to be printed, I can print from Firefox even though the message box comes up.
I suspect that the preview feature must be a separate program running for my printer (HP model). I'll try and find out what it is and add it to the Sandboxie as an allowed program.

By the way, what is the effect on security by changing the setting in Firefox (security.sandbox.content.level) from 3 to 2?

Re: Firefox 57 - I cannot print

Posted: Tue Jan 02, 2018 4:59 am
by APMichael
cocoon wrote:
Mon Jan 01, 2018 11:38 am
...I stopped all sandboxes and reloaded the configuration before printing. I got the message box again...
Was it exactly the same text in the message box? Or another path in the SBIE1319 line? Sometimes you have to open more than one path.

Re: Firefox 57 - I cannot print

Posted: Tue Jan 02, 2018 9:50 am
by cocoon
The message is
SBIE1319 Blocked spooler print to file, [4604] firefox.exe, \Device\HarddiskVolume2\Windows\Temp\HPVC68D.tmp.vdf
SBIE1320 To allow print spooler to write outside the sandbox for this process, please double-click on this message line
Based on this which path should I open?

Re: Firefox 57 - I cannot print

Posted: Tue Jan 02, 2018 11:26 am
by APMichael
It's the same path as in my first reply: viewtopic.php?p=131638#p131625.

Did you add the line under the correct section of sandboxie.ini (= below the name of the Sandbox using for Firefox)?

Re: Firefox 57 - I cannot print

Posted: Tue Jan 02, 2018 11:40 am
by cocoon
APMichael wrote:
Tue Jan 02, 2018 11:26 am
It's the same path as in my first reply: viewtopic.php?p=131638#p131625.
Did you add the line under the correct section of sandboxie.ini (= below the name of the Sandbox using for Firefox)?
I checked the location in sandboxie.ini and the entry is in the sandbox that I use to run Firefox.
What may be odd is that the printing proceeds without me doing anything even though the dialog asks me to double click on the specific line in order to allow printing.

Re: Firefox 57 - I cannot print

Posted: Wed Jan 03, 2018 4:26 am
by APMichael
Strange! Sorry, I don't know why your Sandboxie installation neither accepts the OpenFilePath nor the AllowSpoolerPrintToFile. :(

Re: Firefox 57 - I cannot print

Posted: Wed Jan 03, 2018 8:49 am
by cocoon
Thank you for your assistance anyway. I'll try it again when I have time with a new sandbox or even a new Firefox profile.