From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Peter Boettcher Newsgroups: gmane.emacs.help Subject: Re: print command postscript print buffer Date: Thu, 08 Jan 2004 09:47:16 -0500 Organization: MIT Lincoln Laboratory Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1073574246 21589 80.91.224.253 (8 Jan 2004 15:04:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 8 Jan 2004 15:04:06 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jan 08 16:04:03 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Aebha-0001Ex-01 for ; Thu, 08 Jan 2004 16:04:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1Aecep-0005hV-Jy for geh-help-gnu-emacs@m.gmane.org; Thu, 08 Jan 2004 11:05:15 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!llslave.llan.ll.mit.edu!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (gnu/linux) Cancel-Lock: sha1:7lLLM6nMHtkMypZJacgRECfpegs= Original-Lines: 25 Original-NNTP-Posting-Host: 155.34.163.111 Original-X-Complaints-To: news@ll.mit.edu Original-X-Trace: llslave.llan.ll.mit.edu 1073573236 155.34.163.111 (Thu, 08 Jan 2004 09:47:16 EST) Original-NNTP-Posting-Date: Thu, 08 Jan 2004 09:47:16 EST Original-Xref: shelby.stanford.edu gnu.emacs.help:119870 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:15810 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:15810 Fabian Braennstroem writes: > I want to print several files with the 'postscript print buffer > (B+W)'-command at once. I know that it is possible to mark the files > under 'dired' and print these, but that is no > postscript-printing. Is there a different way to do that or does > anybody know the command for the 'bash'? I use this: mark 'em in dired first, then run the command (defun dired-ps-print-files () (interactive) (let ((files-to-print (dired-get-marked-files))) (while (setq file (car files-to-print)) (setq files-to-print (cdr files-to-print)) (find-file file) (ps-print-buffer-with-faces) (kill-buffer nil)))) -- Peter Boettcher MIT Lincoln Laboratory boettcher@ll.mit.edu (781) 981-5275