(lpr-command, lpr-headers-switches): Treat Solaris like BSD.
authorRichard M. Stallman <rms@gnu.org>
Wed, 17 Aug 1994 23:29:45 +0000 (23:29 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 17 Aug 1994 23:29:45 +0000 (23:29 +0000)
lisp/lpr.el

index 7f5ff8d..4af86a1 100644 (file)
 
 ;;;###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