From 6195472824041191c17ac2bcb9f0f8fe43e651eb Mon Sep 17 00:00:00 2001 From: Frederik Vanrenterghem Date: Wed, 16 Oct 2024 20:31:23 +0800 Subject: [PATCH] Support printing from emacs better. --- emacs/.emacs.d/init.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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) -- 2.39.5