unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: help-gnu-emacs@gnu.org
Subject: Re: specifying printer to gnus
Date: Wed, 06 Jun 2018 12:41:54 -0700	[thread overview]
Message-ID: <87zi07snwd.fsf@ericabrahamsen.net> (raw)
In-Reply-To: 87efhj67bc.fsf@nyu.edu

allan gottlieb <gottlieb@nyu.edu> writes:

> 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

When you pipe the article or part, the command you give it there honors
the $PRINTER variable.

> However, when I execute ajg-gnus-summary-print-article-maybe-bw
> (via AP in Summary) the article is printed on ss.

I don't think anything in ps-*.el honors the $PRINTER variable. Maybe
set `ps-printer-name' or `printer-name'? These are guesses,
unfortunately...

Eric




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

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-06 19:31 specifying printer to gnus allan gottlieb
2018-06-06 19:41 ` Eric Abrahamsen [this message]
     [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=87zi07snwd.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --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).