This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Where do I change the default directory for print to file?

more options

Currently the file is placed in the Mozilla Firefox directory under the Programs files directory. I want to change the default directory.

Currently the file is placed in the Mozilla Firefox directory under the Programs files directory. I want to change the default directory.

Chosen solution

Hi Tai4firefox, you wrote:

This is not solved as I do not know where to change the default directory.

You cannot do this without modifying the program code of Firefox. So you should consider other options.

Read this answer in context 👍 1

All Replies (6)

more options

Windows doesn't want me to write a file there (I get an error).

You can manually type a path as a workaround:

C:\prn\filename

But that is annoying to do every time... Someone did file a request to attach a Windows file browser dialog to that box — in January 2008. (Bug: 413537 – "Print To File" should provide standard file selector) Obviously it has not been prioritized, perhaps because few people use this feature.

Why do you use Print to File, and have you considered alternatives such as PDF and XPS?

If you're interested, some free PDF printer drivers are listed in this thread: How can I print to a file? Msg: "Could not open the file, access denied".


About the bug tracking system: it's generally not helpful to add "me too" and "hurry up" comments to bugs, but you can register on the Bugzilla site and "vote" for them to be fixed. See:

more options

I am trying to save emails from my yahoo mail by printing them to a file.

more options

This is not solved as I do not know where to change the default directory.

more options

Don't use Print to file, use something like Save Page As... in the Contextual Menu or in the File menu to save to HTML format. Or install a Print to PDF utility program or extension so you can save the email to PDF format.

See - Print to PDF extensions

more options

You can try to change the default working directory via the Properties of the Firefox desktop shortcut.

more options

Chosen Solution

Hi Tai4firefox, you wrote:

This is not solved as I do not know where to change the default directory.

You cannot do this without modifying the program code of Firefox. So you should consider other options.