From: Frederik Vanrenterghem Date: Wed, 16 Oct 2024 12:31:23 +0000 (+0800) Subject: Support printing from emacs better. X-Git-Url: http://git.vanrenterghem.biz/Dotty.git/commitdiff_plain/6195472824041191c17ac2bcb9f0f8fe43e651eb Support printing from emacs better. --- diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index 999e152..886897c 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -10,7 +10,8 @@ ;; Configure printing using CUPS network printer (setq lpr-switches - (append '("-o raw") + (append '("-o raw" + "-o media=A4") lpr-switches)) ;; Enable the melpa archive for packages @@ -379,7 +380,8 @@ vc-follow-symlinks t ;; View PDFs in Emacs (pdf-loader-install) ; On demand loading, leads to faster startup time - +(setq pdf-misc-print-programm "/usr/bin/lpr") + (use-package magit :ensure t)