Function: lpr-buffer

lpr-buffer is an autoloaded, interactive and byte-compiled function defined in lpr.el.gz.

Signature

(lpr-buffer)

Documentation

Print buffer contents without pagination or page headers.

See the variables lpr-switches and lpr-command for customization of the printer command.

View in manual

Probably introduced at or before Emacs version 19.31.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/lpr.el.gz
;;;###autoload
(defun lpr-buffer ()
  "Print buffer contents without pagination or page headers.
See the variables `lpr-switches' and `lpr-command'
for customization of the printer command."
  (interactive
   (unless (y-or-n-p "Send current buffer to default printer? ")
     (error "Canceled")))
  (print-region-1 (point-min) (point-max) lpr-switches nil))