Variable: mh-lpr-command-format

mh-lpr-command-format is a customizable variable defined in mh-e.el.gz.

Value

"lpr -J '%s'"

Documentation

Command used to print.

This option contains the Unix command line which performs the actual printing for the P l (mh-print-msg) command. The string can contain one escape, "%s", which is replaced by the name of the folder and the message number and is useful for print job names. I use "mpage -h\\='%s\\=' -b Letter -H1of -mlrtb -P" which produces a nice header and adds a bit of margin so the text fits within my printer's margins.

This option is not used by the commands P p (mh-ps-print-msg) or P f (mh-ps-print-msg-file).

This variable was added, or its default value changed, in MH-E version
6.0.

Source Code

;; Defined in /usr/src/emacs/lisp/mh-e/mh-e.el.gz
(defcustom mh-lpr-command-format "lpr -J '%s'"
  "Command used to print\\<mh-folder-mode-map>.

This option contains the Unix command line which performs the
actual printing for the \\[mh-print-msg] command. The string can
contain one escape, \"%s\", which is replaced by the name of the
folder and the message number and is useful for print job names.
I use \"mpage -h\\='%s\\=' -b Letter -H1of -mlrtb -P\" which produces a
nice header and adds a bit of margin so the text fits within my
printer's margins.

This option is not used by the commands \\[mh-ps-print-msg] or
\\[mh-ps-print-msg-file]."
  :type 'string
  :group 'mh-show
  :package-version '(MH-E . "6.0"))