[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Printing questions concerning lpr-switches and printer-name
From: |
Marius Hofert |
Subject: |
Re: Printing questions concerning lpr-switches and printer-name |
Date: |
Thu, 23 May 2013 16:53:17 +0200 |
User-agent: |
mu4e 0.9.9.5; emacs 24.3.50.1 |
Peter Dyballa writes:
> Am 22.05.2013 um 23:11 schrieb Marius Hofert:
>
>> An 'ido' completion of available printers would also be
>> great. Theoretically that should be possible, but I rather have to learn
>> elisp first...
>
> With f1…fn you select one of the n printers you have (maybe there
> exists a clear relation between the printer's type number and the n of
> the function key). So you bind a simple variable setting function (for
> printer-name) to a key press event.
How?
I looked around (e.g., here
http://www.masteringemacs.org/articles/2011/02/08/mastering-key-bindings-emacs/),
but couldn't find a solution to this problem. But then I'm no expert
here, so I might have overlooked it.
>
>
> With one modifier key down, for example Control, while you press one
> of the function keys now two things happen: you set printer n active
> and you also select particular lpr-switches – if needed.
>
> With two modifier keys down, for example Control + Shift, while you
> press one of the function keys now three things happen: you set
> printer n active and you also select particular lpr-switches for it
> and you choose an lpr-command with enscript, a2ps, or whatever.
>
this indeed sounds like a nice approach.
Cheers,
Marius
>
> This should not be too complicated. With printing set-up that way you
> can simply print a file (or more?) from dired with P.
>
> --
> Mit friedvollen Grüßen
>
> Pete
>
> Atheism is a non prophet organisation.