Variable: ps-default-bg
ps-default-bg is a customizable variable defined in ps-print.el.gz.
Value
nil
Documentation
RGB values of the default background color.
The ps-default-bg variable contains the default background color used by
ps-print, that is, if there is a face in a text that doesn't have a background
color, the ps-default-bg color should be used.
Valid values are:
t The background color of Emacs session will be used.
frame-parameter The background-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 white color will be used.
This variable is used only when ps-print-color-p (which see) is neither nil
nor black-white.
See also ps-use-face-background.
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-bg nil
"RGB values of the default background color.
The `ps-default-bg' variable contains the default background color used by
ps-print, that is, if there is a face in a text that doesn't have a background
color, the `ps-default-bg' color should be used.
Valid values are:
t The background color of Emacs session will be used.
frame-parameter The background-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 white color will be used.
This variable is used only when `ps-print-color-p' (which see) is neither nil
nor black-white.
See also `ps-use-face-background'."
:type '(choice :menu-tag "Default Background Gray/Color"
(const :tag "Session Background" t)
(const :tag "Frame Background" frame-parameter)
(number :tag "Gray Scale" :value 1.0)
(string :tag "Color Name" :value "white")
(list :tag "RGB Color" :value (1.0 1.0 1.0)
(number :tag "Red")
(number :tag "Green")
(number :tag "Blue"))
(other :tag "Default Background Gray/Color" nil))
:version "20"
:group 'ps-print-color)