Function: pr-ps-buffer-print
pr-ps-buffer-print is an autoloaded, interactive and byte-compiled
function defined in printing.el.gz.
Signature
(pr-ps-buffer-print N-UP &optional FILENAME)
Documentation
Print buffer using PostScript printer.
Interactively, the command prompts for N-UP printing number and, when you use a
prefix argument (C-u (universal-argument)), the command prompts the user for a file name, and saves
the PostScript image in that file instead of sending it to the printer.
Noninteractively, if N-UP is nil, prompts for N-UP printing number. The argument FILENAME is treated as follows: if it's nil, send the image to the printer. If FILENAME is a string, save the PostScript image in a file with that name. If FILENAME is t, prompts for a file name.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/printing.el.gz
;;;###autoload
(defun pr-ps-buffer-print (n-up &optional filename)
"Print buffer using PostScript printer.
Interactively, the command prompts for N-UP printing number and, when you use a
prefix argument (\\[universal-argument]), the command prompts the user for a file name, and saves
the PostScript image in that file instead of sending it to the printer.
Noninteractively, if N-UP is nil, prompts for N-UP printing number. The
argument FILENAME is treated as follows: if it's nil, send the image to the
printer. If FILENAME is a string, save the PostScript image in a file with
that name. If FILENAME is t, prompts for a file name."
(interactive (pr-interactive-n-up-file (pr-prompt "PS print")))
(if (pr-auto-mode-p)
(pr-ps-mode-print n-up filename)
(pr-ps-print (pr-region-active-symbol) n-up filename
(pr-region-active-string "PS print"))))