[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: printing an article in black and white
From: |
Reiner Steib |
Subject: |
Re: printing an article in black and white |
Date: |
Wed, 08 Dec 2010 15:43:55 -0000 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/22.1 (gnu/linux) |
On Mon, Jul 12 2010, Allan Gottlieb wrote:
> My fast printer is a black and white laser printer (HP P2055dn).
>
> From the summary buffer, gnus-summary-print-article prints the article
> with light colors printed in lighter grey. This causes some to be
> nearly unreadable.
>
> Can I arrange for gnus to print all the characters in black (or at least
> no lighter than a fairly dark gray)?
Gnus uses the standard Emacs settings, IIRC:
,----[ (info "(emacs)PostScript Variables") ]
| If your printer doesn't support colors, you should turn off color
| processing by setting `ps-print-color-p' to `nil'. By default, if the
| display supports colors, Emacs produces hardcopy output with color
| information; on black-and-white printers, colors are emulated with
| shades of gray. This might produce illegible output, even if your
| screen colors only use shades of gray.
`----
,----[ <f1> v ps-print-color-p RET ]
| ps-print-color-p is a variable defined in `ps-print.el'.
| Its value is t
|
|
| Documentation:
| *Specify how buffer's text color is printed.
|
| Valid values are:
|
| nil Do not print colors.
|
| t Print colors.
|
| black-white Print colors on black/white printer.
| See also `ps-black-white-faces'.
|
| Any other value is treated as t.
|
| You can customize this variable.
|
| [back]
`----
> I would then invoke this revised function when printing to the fast B&W
> and the normal gnus-summary-print-article when printing to the slower
> color all-in-one.
(defun rs-gnus-summary-print-article-bw ()
"Print with `gnus-summary-print-article' in black&white."
(interactive)
(let ((ps-print-color-p nil))
(call-interactively 'gnus-summary-print-article)))
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/