Set pdf print program

This commit is contained in:
Alexander Rosenberg 2024-02-10 03:16:21 -08:00
parent 508ec41fb4
commit 747c35b12a
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -784,6 +784,7 @@ COMMAND and COMINT are like `compile'."
(use-package pdf-tools (use-package pdf-tools
:hook (pdf-view-mode . my/setup-pdf-view-mode) :hook (pdf-view-mode . my/setup-pdf-view-mode)
:init :init
(setq pdf-misc-print-program-executable "lp")
(defun my/setup-pdf-view-mode () (defun my/setup-pdf-view-mode ()
(display-line-numbers-mode -1) (display-line-numbers-mode -1)
(setq-local cursor-type nil)) (setq-local cursor-type nil))