Den här webbplatsen har begränsad funktionalitet medan vi utför underhåll för att förbättra din upplevelse. Om en artikel inte löser ditt problem och du vill ställa en fråga har vi vår gemenskap som väntar på att hjälpa dig på @FirefoxSupport på Twitter, /r/firefox på Reddit.

Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

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.

Alla svar (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).