all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Boettcher <boettcher@ll.mit.edu>
Subject: Re: print command postscript print buffer
Date: Thu, 08 Jan 2004 09:47:16 -0500	[thread overview]
Message-ID: <m3y8siv6ob.fsf@coyote.llan.ll.mit.edu> (raw)
In-Reply-To: mailman.225.1073575394.928.help-gnu-emacs@gnu.org

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

       reply	other threads:[~2004-01-08 14:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.225.1073575394.928.help-gnu-emacs@gnu.org>
2004-01-08 14:47 ` Peter Boettcher [this message]
2004-01-08 19:20   ` print command postscript print buffer Fabian Braennstroem
2004-01-08 14:23 Fabian Braennstroem

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3y8siv6ob.fsf@coyote.llan.ll.mit.edu \
    --to=boettcher@ll.mit.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.