unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Allan Gottlieb <gottlieb@nyu.edu>
To: help-gnu-emacs@gnu.org
Subject: Re: printing with dark background and faces
Date: Wed, 23 May 2007 21:31:33 -0400	[thread overview]
Message-ID: <yu9myzvroqy.fsf@nyu.edu> (raw)
In-Reply-To: <uhcql24mw.fsf@gnu.org> (Eli Zaretskii's message of "Wed\, 09 May 2007 22\:12\:07 +0300")

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	other threads:[~2007-05-24  1:31 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.411.1178668435.32220.help-gnu-emacs@gnu.org>
2007-05-09  7:05 ` printing with dark background and faces Stein Arild Strømme
2007-05-09  8:14   ` Nordlöw
2007-05-09 12:58     ` Stein Arild Strømme
2007-05-09 15:55       ` Allan Gottlieb
2007-05-09 14:08     ` Peter Dyballa
2007-05-09 19:12   ` Eli Zaretskii
2007-05-24  1:31     ` Allan Gottlieb [this message]
2007-05-08 21:28 Allan Gottlieb
2007-05-09  8:41 ` Bauke Jan Douma

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yu9myzvroqy.fsf@nyu.edu \
    --to=gottlieb@nyu.edu \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).