From: Marius Hofert <marius.hofert@math.ethz.ch>
To: "Peter Dyballa" <Peter_Dyballa@Web.DE>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Printing questions concerning lpr-switches and printer-name
Date: Wed, 22 May 2013 23:11:56 +0200 [thread overview]
Message-ID: <87ppwira77.fsf@math.ethz.ch> (raw)
In-Reply-To: <4C035C2D-268A-4A8A-821F-1D06502CC7D9@Web.DE>
Peter Dyballa writes:
> Am 22.05.2013 um 21:21 schrieb Marius Hofert:
>
>> 2) I would like to print files of certain types (like .c, .R) by 'a2ps'
>> instead of 'lpr'. How can this be dealt with (or is again the best
>> solution to adjust the print command manually [in this case completely
>> replace it]?).
>
> You could use an universal shell or Perl or Python or whatever script
> that handles the printing based on their extension and on internal
> rules…
This is a good idea.
>
>
> In GNU Emacs you can also set lpr-command. Why not press f1, f2, f3,
> with modifiers, to select a printer and modify its way of printing?
I think I roughly know what you mean, but a) not 100% sure and b) no
glue how to do this...
An 'ido' completion of available printers would also be
great. Theoretically that should be possible, but I rather have to learn
elisp first...
Maybe someone already has a similar setup / requirements?
Cheers,
Marius
>
>
> --
> Mit friedvollen Grüßen
>
> Pete
>
> Our enemies are innovative and resourceful, and so are we. They never stop thinking about new ways to harm our country and our people, and neither do we.
> – Georges W. Bush
next prev parent reply other threads:[~2013-05-22 21:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-22 19:21 Printing questions concerning lpr-switches and printer-name Marius Hofert
2013-05-22 20:04 ` Peter Dyballa
2013-05-22 21:11 ` Marius Hofert [this message]
2013-05-22 22:52 ` Peter Dyballa
2013-05-23 14:53 ` Marius Hofert
2013-05-23 16:14 ` Peter Dyballa
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=87ppwira77.fsf@math.ethz.ch \
--to=marius.hofert@math.ethz.ch \
--cc=Peter_Dyballa@Web.DE \
--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).