Function: ps-despool

ps-despool is an autoloaded, interactive and byte-compiled function defined in ps-print.el.gz.

Signature

(ps-despool &optional FILENAME)

Documentation

Send the spooled PostScript to the printer.

Interactively, when you use a prefix argument (C-u (universal-argument)), the command prompts the user for a file name, and saves the spooled PostScript image in that file instead of sending it to the printer.

Noninteractively, the argument FILENAME is treated as follows: if it is nil, send the image to the printer. If FILENAME is a string, save the PostScript image in a file with that name.

Key Bindings

Aliases

ebnf-despool

Source Code

;; Defined in /usr/src/emacs/lisp/ps-print.el.gz
;;;###autoload
(defun ps-despool (&optional filename)
  "Send the spooled PostScript to the printer.

Interactively, when you use a prefix argument (\\[universal-argument]), the command prompts the
user for a file name, and saves the spooled PostScript image in that file
instead of sending it to the printer.

Noninteractively, the argument FILENAME is treated as follows: if it is nil,
send the image to the printer.  If FILENAME is a string, save the PostScript
image in a file with that name."
  (interactive (list (ps-print-preprint current-prefix-arg)))
  (ps-do-despool filename))