Variable: ps-mode-print-function

ps-mode-print-function is a customizable variable defined in ps-mode.el.gz.

Value

#[0 "\303\304>\203�\305\202\f�\306\307 *\207"
    [system-type lpr-command lpr-switches nil
		 (usg-unix-v hpux)
		 "lp" "lpr" lpr-buffer]
    3]

Documentation

Lisp function to print current buffer as PostScript.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/ps-mode.el.gz
(defcustom ps-mode-print-function
  (lambda ()
     (let ((lpr-switches nil)
	   (lpr-command (if (memq system-type '(usg-unix-v hpux))
			    "lp" "lpr")))
       (lpr-buffer)))
  "Lisp function to print current buffer as PostScript."
  :group 'PostScript-edit
  :type 'function)