From e3f3cf13fdb775a0d495e64a6f859ad43b037d8a Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Tue, 21 Mar 2023 09:25:52 +0100 Subject: [PATCH] thunderbird: set print to PDF to A4 --- dotfiles/thunderbird.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dotfiles/thunderbird.js b/dotfiles/thunderbird.js index 291beec..8c7ba07 100644 --- a/dotfiles/thunderbird.js +++ b/dotfiles/thunderbird.js @@ -58,3 +58,11 @@ user_pref("mailnews.headers.showUserAgent", true); // Offline user_pref("offline.download.download_messages", 1); user_pref("offline.send.unsent_messages", 1); + +// Print +user_pref("print.printer_Mozilla_Save_to_PDF.print_bgcolor", true); +user_pref("print.printer_Mozilla_Save_to_PDF.print_bgimages", true); +user_pref("print.printer_Mozilla_Save_to_PDF.print_paper_id", "iso_a4"); +user_pref("print.printer_Mozilla_Save_to_PDF.print_paper_size_unit", 0); +user_pref("print.printer_Mozilla_Save_to_PDF.print_paper_width", 8.26771653543307); +user_pref("print.printer_Mozilla_Save_to_PDF.print_paper_height", 11.6929133858268);