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!

Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. 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).