aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/lpr.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/lpr.el b/lisp/lpr.el
index 7eb76613719..21a1ed24f81 100644
--- a/lisp/lpr.el
+++ b/lisp/lpr.el
@@ -115,7 +115,7 @@ See definition of `print-region-1' for calling conventions."
115 115
116;; Berkeley systems support -F, and GNU pr supports both -f and -F, 116;; Berkeley systems support -F, and GNU pr supports both -f and -F,
117;; So it looks like -F is a better default. 117;; So it looks like -F is a better default.
118(defcustom lpr-page-header-switches '("-F") 118(defcustom lpr-page-header-switches '("-h" "-F")
119 "*List of strings to use as options for the page-header-generating program. 119 "*List of strings to use as options for the page-header-generating program.
120The variable `lpr-page-header-program' specifies the program to use." 120The variable `lpr-page-header-program' specifies the program to use."
121 :type '(repeat string) 121 :type '(repeat string)
@@ -216,8 +216,7 @@ for further customization of the printer command."
216 (setq start (car new-coords) end (cdr new-coords))) 216 (setq start (car new-coords) end (cdr new-coords)))
217 (apply 'call-process-region start end lpr-page-header-program 217 (apply 'call-process-region start end lpr-page-header-program
218 t t nil 218 t t nil
219 (nconc (list "-h" title) 219 lpr-page-header-switches)
220 lpr-page-header-switches))
221 (setq start (point-min) end (point-max)))) 220 (setq start (point-min) end (point-max))))
222 (let ((printer-name-switch (if (memq system-type 221 (let ((printer-name-switch (if (memq system-type
223 '(usg-unix-v dgux hpux irix)) 222 '(usg-unix-v dgux hpux irix))