From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: adamsonj@email.unc.edu (Joel J. Adamson) Newsgroups: gmane.emacs.help Subject: Re: print from emacs Date: Thu, 22 May 2008 11:49:46 -0400 Message-ID: <87fxsaqqxx.fsf@W0053328.mgh.harvard.edu> References: <48350F0C.5080601@telenet.be> <0E68C71D-7383-44C3-9BDE-62DA5A7AC3C0@Web.DE> <4835460E.6060807@telenet.be> <3D828F18-1F8B-4123-8C47-AA54ECAC951A@Web.DE> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1211471622 11929 80.91.229.12 (22 May 2008 15:53:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 22 May 2008 15:53:42 +0000 (UTC) Cc: emacs list , Alain Muls To: Peter Dyballa Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 22 17:54:17 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JzD5f-0007Ud-UV for geh-help-gnu-emacs@m.gmane.org; Thu, 22 May 2008 17:52:28 +0200 Original-Received: from localhost ([127.0.0.1]:54381 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JzD4v-0000PX-Im for geh-help-gnu-emacs@m.gmane.org; Thu, 22 May 2008 11:51:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JzD3W-0007uI-C6 for help-gnu-emacs@gnu.org; Thu, 22 May 2008 11:50:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JzD3S-0007sF-Ne for help-gnu-emacs@gnu.org; Thu, 22 May 2008 11:50:14 -0400 Original-Received: from [199.232.76.173] (port=60414 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JzD3S-0007s9-9H for help-gnu-emacs@gnu.org; Thu, 22 May 2008 11:50:10 -0400 Original-Received: from smtpsrv0.isis.unc.edu ([152.2.1.139]:55147 helo=smtp.unc.edu) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JzD3S-00063E-0F for help-gnu-emacs@gnu.org; Thu, 22 May 2008 11:50:10 -0400 Original-Received: from W0053328.mgh.harvard.edu.partners.org (W0053328.mgh.harvard.edu [132.183.29.121]) (authenticated bits=0) by smtp.unc.edu (8.13.4/8.13.4) with ESMTP id m4MFnkLH018174; Thu, 22 May 2008 11:49:53 -0400 (EDT) In-Reply-To: <3D828F18-1F8B-4123-8C47-AA54ECAC951A@Web.DE> (Peter Dyballa's message of "Thu, 22 May 2008 14:47:57 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Solaris 9 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:54232 Archived-At: Peter Dyballa 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: http://www.emacswiki.org/cgi-bin/wiki/EnscriptPrint > 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 -- Joel J. Adamson Biostatistician Pediatric Psychopharmacology Research Unit Massachusetts General Hospital Boston, MA 02114 (617) 643-1432 (303) 880-3109 Public key: http://pgp.mit.edu http://www.unc.edu/~adamsonj