[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: print command postscript print buffer
From: |
Peter Boettcher |
Subject: |
Re: print command postscript print buffer |
Date: |
Thu, 08 Jan 2004 09:47:16 -0500 |
User-agent: |
Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (gnu/linux) |
Fabian Braennstroem <f.braennstroem@gmx.de> 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