unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: allan gottlieb <gottlieb@nyu.edu>
To: help-gnu-emacs@gnu.org
Subject: specifying printer to gnus
Date: Wed, 06 Jun 2018 15:31:03 -0400	[thread overview]
Message-ID: <87efhj67bc.fsf@nyu.edu> (raw)

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



             reply	other threads:[~2018-06-06 19:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-06 19:31 allan gottlieb [this message]
2018-06-06 19:41 ` specifying printer to gnus Eric Abrahamsen
     [not found] <mailman.1351.1528313476.1292.help-gnu-emacs@gnu.org>
2018-06-06 19:59 ` Emanuel Berg
2018-06-06 20:32   ` allan gottlieb

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87efhj67bc.fsf@nyu.edu \
    --to=gottlieb@nyu.edu \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).