为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

firefox for windows failed to save to pdf if temp directory is moved from default

  • 6 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 bachet

more options

Since ver 55 up to ver 66 of Firefox for Windows, if the Windows default temp directory is changed from %USERPROFILE%\AppData\Local\Temp to a different location then any webpage sent to Microsoft print to PDF printer will fail to save the file. It only works if temp dir is at default location. Please take a look, thank you all.

Since ver 55 up to ver 66 of Firefox for Windows, if the Windows default temp directory is changed from %USERPROFILE%\AppData\Local\Temp to a different location then any webpage sent to Microsoft print to PDF printer will fail to save the file. It only works if temp dir is at default location. Please take a look, thank you all.

所有回复 (6)

more options

Did you look at browser setting as well? And where are you getting the pdf from?

more options

Thanks for replying. I think all my settings are correct. And I'm not talking about downloading pdf files but saving webpages as pdf files through Microsoft Print to PDF printer driver.

由bachet于修改

more options

So does it fail to save to that location? If it does that would mean the permission isn't set right in the O/S to write to it.

more options

It fails to save to any location. I am pretty sure it's a Firefox bug, because I always have to switch to Chrome or Internet Explorer every time I have a need to save a webpage to pdf file. You can try it yourself and see if you're using Windows. Go to Control Panel > System >Advanced System Settings > Environment Variables... and change the Temp and Tmp values to other locations than defaults.

由bachet于修改

more options

Do other browsers save the file to the temp location when you print to a PDF file?

To what directory is Firefox saving the file or does it simply use the temp folder and/or the PDF printer driver can't find the file?

more options

When saving to pdf file under Chrome or IE, a temp file is created in the temp dir then it is moved to the user specified dir. I'm not sure how Firefox does it, all I get is a print error shown in the picture. Maybe it couldn't find the temp dir since it was changed from Windows default.