From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Allan Gottlieb Newsgroups: gmane.emacs.help Subject: Re: printing with dark background and faces Date: Wed, 23 May 2007 21:31:33 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1179970320 30787 80.91.229.12 (24 May 2007 01:32:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 24 May 2007 01:32:00 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 24 03:31:51 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Hr2BD-0003XR-LM for geh-help-gnu-emacs@m.gmane.org; Thu, 24 May 2007 03:31:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hr2BF-0001eX-NI for geh-help-gnu-emacs@m.gmane.org; Wed, 23 May 2007 21:31:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hr2B2-0001eS-QL for help-gnu-emacs@gnu.org; Wed, 23 May 2007 21:31:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hr2B2-0001eC-CM for help-gnu-emacs@gnu.org; Wed, 23 May 2007 21:31:40 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hr2B2-0001e7-5I for help-gnu-emacs@gnu.org; Wed, 23 May 2007 21:31:40 -0400 Original-Received: from smtp.cs.nyu.edu ([128.122.140.230]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Hr2B1-0001kb-QI for help-gnu-emacs@gnu.org; Wed, 23 May 2007 21:31:39 -0400 Original-Received: from ajglap.localdomain (ool-4578d5e5.dyn.optonline.net [69.120.213.229]) (authenticated bits=0) by smtp.cs.nyu.edu (8.13.6/8.13.6) with ESMTP id l4O1VcnQ013141 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 23 May 2007 21:31:39 -0400 (EDT) Original-Received: by ajglap.localdomain (Postfix, from userid 1502) id AB3E619DA4A; Wed, 23 May 2007 21:31:33 -0400 (EDT) In-Reply-To: (Eli Zaretskii's message of "Wed\, 09 May 2007 22\:12\:07 +0300") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.990 (gnu/linux) X-detected-kernel: Solaris 9 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:44359 Archived-At: At Wed, 09 May 2007 22:12:07 +0300 Eli Zaretskii 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