Improve documentation of 'ps-print-color-p'

* doc/emacs/misc.texi (PostScript Variables): Improve and clarify
the description of 'ps-print-color-p'.  (Bug#44962)
This commit is contained in:
Eli Zaretskii 2020-12-05 12:19:27 +02:00
parent 6663b2f211
commit 6916e7954a

View file

@ -2252,13 +2252,18 @@ off.
@vindex ps-print-color-p @vindex ps-print-color-p
If your printer doesn't support colors, you should turn off color If your printer doesn't support colors, you should turn off color
processing by setting @code{ps-print-color-p} to @code{nil}. By processing by setting @code{ps-print-color-p} to @code{nil}. By
default, if the display supports colors, Emacs produces hardcopy output default, if the display supports colors, Emacs produces hardcopy
with color information; on black-and-white printers, colors are emulated output with color information; on black-and-white printers, colors are
with shades of gray. This might produce illegible output, even if your emulated with shades of gray. This might produce barely-readable or
screen colors only use shades of gray. even illegible output, even if your screen colors only use shades of
gray.
Alternatively, you can set @code{ps-print-color-p} to @code{black-white} to @vindex ps-black-white-faces
print colors on black/white printers. Alternatively, you can set @code{ps-print-color-p} to @code{black-white}
to have colors display better on black/white printers. This works by
using information in @code{ps-black-white-faces} to express colors by
customizable list of shades of gray, augmented by bold and italic
face attributes.
@vindex ps-use-face-background @vindex ps-use-face-background
By default, PostScript printing ignores the background colors of the By default, PostScript printing ignores the background colors of the