[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: print from emacs

From: Joel J. Adamson
Subject: Re: print from emacs
Date: Thu, 22 May 2008 11:49:46 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Peter Dyballa <address@hidden> writes:

> Am 22.05.2008 um 12:08 schrieb Alain Muls:
>> This looks very nice, but how can I integrate a call to enscript in
>> emacs and specify a specific printer?

Sorry that I didn't post this to the list earlier:

> Shell-command, shell-command-on-region. You could also prepare a (few)
> shell script(s) of which each one could be a print or lpr  command for
> GNU Emacs. Could be it works to set lpr-command as a file- 
> local variable, and the same might work also for lpr-switches to
> select a particular printer or setup ...

You can also pipe the output to a2ps using shell-command-on-region.


Joel J. Adamson
Pediatric Psychopharmacology Research Unit
Massachusetts General Hospital
Boston, MA  02114
(617) 643-1432
(303) 880-3109
Public key:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]