[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
specifying printer to gnus
From: |
allan gottlieb |
Subject: |
specifying printer to gnus |
Date: |
Wed, 06 Jun 2018 15:31:03 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
I have two printers on my system.
ss is a color deskjet connected via the lan
lj is a b/w laserjet directly connected via usb
I want to print on lj by default.
I set the PRINTER env variable to lj in .bash_profile
When I execute gnus-summary-pipe-output (via | in Summary)
the article (mail message) is printed on lj
When I execute gnus-mime-pipe-part (via | in Article)
the attachment is printed on lj
However, when I execute ajg-gnus-summary-print-article-maybe-bw
(via AP in Summary) the article is printed on ss.
This suggests my ajg-gnus-summary-print-article-maybe-bw is at fault,
but here is the entire function
(defun ajg-gnus-summary-print-article-maybe-bw ()
"Print with `gnus-summary-print-article' possibly in black&white."
(interactive)
(let ((ps-print-color-p ajg-color-printer-p))
(call-interactively 'gnus-summary-print-article)))
I don't see where the printer is being set to ss.
Any hints?
thanks in advance,
allan
- specifying printer to gnus,
allan gottlieb <=