We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

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

Print preview with Mozilla Save to PDF automated

more options

Hi there,

I have to save a lot of PDF documentation in Firefox browser. When I use a software and I click a button the print preview window appears, after that I save the documentation in pdf. Is there any way to automated it?

I use these configs (about:config and about:preferences):

browser.download.folderList "2" browser.download.dir "/path/to/download/directory" browser.helperApps.neverAsk.saveToDisk "*" print_printer "Mozilla Save to PDF" print.always_print_silent "true"

Always ask you where to save files -> not checked Content-type PDF -> Save file in the Applications section At now this config is does not work. I want to click the button, and it will download into the correct folder.

Hi there, I have to save a lot of PDF documentation in Firefox browser. When I use a software and I click a button the print preview window appears, after that I save the documentation in pdf. Is there any way to automated it? I use these configs (about:config and about:preferences): browser.download.folderList "2" browser.download.dir "/path/to/download/directory" browser.helperApps.neverAsk.saveToDisk "*" print_printer "Mozilla Save to PDF" print.always_print_silent "true" Always ask you where to save files -> not checked Content-type PDF -> Save file in the Applications section At now this config is does not work. I want to click the button, and it will download into the correct folder.

All Replies (1)

more options

Just to be clear, this problem is when you are viewing a web page that you want Firefox to convert to a PDF, it is not a PDF already.

The built-in Print > Save to PDF option seems to always call up a Save As dialog, similar to the Acrobat add-on. I'm not aware of a workaround for that.

I wasn't able to bypass it when I created my add-on "Save to PDF now - with no preview." In order to download and save web pages as PDF files without triggering the Save As dialog, I would have needed to embed a licensed PDF converter ($$) or use a web service (which has privacy implications).