搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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.

所有回覆 (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).