Variable: ps-default-fg

ps-default-fg is a customizable variable defined in ps-print.el.gz.

Value

nil

Documentation

RGB values of the default foreground color.

The ps-default-fg variable contains the default foreground color used by ps-print, that is, if there is a face in a text that doesn't have a foreground color, the ps-default-fg color should be used.

Valid values are:

   t The foreground color of Emacs session will be used.

   frame-parameter The foreground-color frame parameter will be used.

   NUMBER It's a real value between 0.0 (black) and 1.0 (white) that
indicate the gray color.

   COLOR-NAME It's a string which contains the color name. For example:
"yellow".

   LIST It's a list of RGB values, that is a list of three real values
of the form:

(RED GREEN BLUE)

Where RED, GREEN and BLUE are reals between 0.0 (no color) and
1.0 (full color).

Any other value is ignored and black color will be used.

This variable is used only when ps-print-color-p (which see) is neither nil nor black-white.

This variable was added, or its default value changed, in Emacs 20.

Source Code

;; Defined in /usr/src/emacs/lisp/ps-print.el.gz
(defcustom ps-default-fg nil
  "RGB values of the default foreground color.

The `ps-default-fg' variable contains the default foreground color used by
ps-print, that is, if there is a face in a text that doesn't have a foreground
color, the `ps-default-fg' color should be used.

Valid values are:

   t		The foreground color of Emacs session will be used.

   frame-parameter	The foreground-color frame parameter will be used.

   NUMBER	It's a real value between 0.0 (black) and 1.0 (white) that
		indicate the gray color.

   COLOR-NAME	It's a string which contains the color name.  For example:
		\"yellow\".

   LIST		It's a list of RGB values, that is a list of three real values
		of the form:

		  (RED GREEN BLUE)

		Where RED, GREEN and BLUE are reals between 0.0 (no color) and
		1.0 (full color).

Any other value is ignored and black color will be used.

This variable is used only when `ps-print-color-p' (which see) is neither nil
nor black-white."
  :type '(choice :menu-tag "Default Foreground Gray/Color"
		 (const :tag "Session Foreground" t)
		 (const :tag "Frame Foreground" frame-parameter)
		 (number :tag "Gray Scale" :value 0.0)
		 (string :tag "Color Name" :value "black")
		 (list :tag "RGB Color" :value (0.0 0.0 0.0)
		       (number :tag "Red")
		       (number :tag "Green")
		       (number :tag "Blue"))
		 (other :tag "Default Foreground Gray/Color" nil))
  :version "20"
  :group 'ps-print-color)