changeset 8562:bbe37f3ae570

(lpr-command, lpr-headers-switches): Treat Solaris like BSD.
author Richard M. Stallman <rms@gnu.org>
date Wed, 17 Aug 1994 23:29:45 +0000
parents dc5353720725
children a15ce495af6f
files lisp/lpr.el
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/lpr.el	Wed Aug 17 23:13:50 1994 +0000
+++ b/lisp/lpr.el	Wed Aug 17 23:29:45 1994 +0000
@@ -38,12 +38,15 @@
 
 ;;;###autoload
 (defvar lpr-command
-  (if (memq system-type '(usg-unix-v dgux hpux irix))
+  (if (and (memq system-type '(usg-unix-v dgux hpux irix))
+	   (not (string-match "^[^-]*-[^-]*-solaris" system-configuration)))
       "lp" "lpr")
   "*Shell command for printing a file")
 
 (defvar lpr-headers-switches
-  (if (memq system-type '(usg-unix-v hpux)) nil "-p")
+  (if (and (memq system-type '(usg-unix-v hpux))
+	   (not (string-match "^[^-]*-[^-]*-solaris" system-configuration)))
+      nil "-p")
   "*List of strings to use as options for `lpr' to request page headings.")
 
 (defvar print-region-function nil