Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

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

  • 6 réponses
  • 1 a ce problème
  • 1 vue
  • Dernière réponse par 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.

Toutes les réponses (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.

Modifié le par 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.

Modifié le par 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.