Function: mh-ps-print-toggle-color

mh-ps-print-toggle-color is an autoloaded, interactive and byte-compiled function defined in mh-print.el.gz.

Signature

(mh-ps-print-toggle-color)

Documentation

Toggle whether color is used in printing messages.

Colors are emulated on black-and-white printers with shades of gray. This might produce illegible output, even if your screen colors only use shades of gray. If this is the case, try using this command to toggle between color, no color, and a black and white representation of the colors and see which works best. You change this setting permanently by customizing the option ps-print-color-p.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/mh-e/mh-print.el.gz
;;;###mh-autoload
(defun mh-ps-print-toggle-color ()
  "Toggle whether color is used in printing messages.

Colors are emulated on black-and-white printers with shades of
gray. This might produce illegible output, even if your screen
colors only use shades of gray. If this is the case, try using
this command to toggle between color, no color, and a black and
white representation of the colors and see which works best. You
change this setting permanently by customizing the option
`ps-print-color-p'."
 (interactive)
 (if (eq mh-ps-print-color-option nil)
     (progn
       (setq mh-ps-print-color-option 'black-white)
       (message "Colors will be printed as black & white"))
   (if (eq mh-ps-print-color-option 'black-white)
       (progn
         (setq mh-ps-print-color-option t)
         (message "Colors will be printed"))
     (setq mh-ps-print-color-option nil)
     (message "Colors will not be printed"))))