help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: printing with dark background and faces


From: Allan Gottlieb
Subject: Re: printing with dark background and faces
Date: Wed, 23 May 2007 21:31:33 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.990 (gnu/linux)

At Wed, 09 May 2007 22:12:07 +0300 Eli Zaretskii <eliz@gnu.org> wrote:

>> From: stromme@math.uib.no (Stein Arild =?iso-8859-1?Q?Str=F8mme?=)
>> Date: Wed, 09 May 2007 09:05:28 +0200
>> 
>> | The trouble is that white on black, which I like on the screen, is
>> | quite bad on paper (and uses a lot of ink).  I know about
>> | ps-print-without-faces, but sometimes the color is useful.
>> | 
>> | What I would like is to have the print look the way my screen would
>> | look were I using a light background.  Any suggestions?
>> 
>> (setq ps-print-color-p nil)
>
> No, I don't think this is what the OP wants.
>
> Allan, is it possible ps-print prints white on black because of some
> of your customizations?  What happens if you start Emacs with the
> command "emacs -q --no-site-file", then set up the default faces as
> they are set in your normal session (i.e. white on black), and then
> try ps-print-buffer-with-faces?

I tried emacs -q --no-site-file and did
(set foreground-color "white")
(set background-color "black")

The printing was till white on black

> If that doesn't help, try customizing the variable
> ps-use-face-background,

No change

> and maybe also ps-default-fg and ps-default-bg.

Bingo!

Thanks,
allan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]