From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?iso-8859-1?B?Tm9yZGz2dw==?= Newsgroups: gmane.emacs.help Subject: Re: printing with dark background and faces Date: 9 May 2007 01:14:19 -0700 Organization: http://groups.google.com Message-ID: <1178698459.177238.95520@y80g2000hsf.googlegroups.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1178699634 29930 80.91.229.12 (9 May 2007 08:33:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 9 May 2007 08:33:54 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 09 10:33:53 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 1HlhcP-0002Jj-AN for geh-help-gnu-emacs@m.gmane.org; Wed, 09 May 2007 10:33:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HlhjZ-00031a-UC for geh-help-gnu-emacs@m.gmane.org; Wed, 09 May 2007 04:41:17 -0400 Original-Path: shelby.stanford.edu!newshub.stanford.edu!postnews.google.com!y80g2000hsf.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 32 Original-NNTP-Posting-Host: 150.227.15.253 Original-X-Trace: posting.google.com 1178698459 6737 127.0.0.1 (9 May 2007 08:14:19 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 9 May 2007 08:14:19 +0000 (UTC) In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; sv-SE; rv:1.8.1.3) Gecko/20060601 Firefox/2.0.0.3 (Ubuntu-edgy),gzip(gfe),gzip(gfe) X-HTTP-Via: 1.1 netcache (NetCache NetApp/6.1.1RC1) Complaints-To: groups-abuse@google.com Injection-Info: y80g2000hsf.googlegroups.com; posting-host=150.227.15.253; posting-account=T25tbw0AAADoaalO12jRFAyM2dkqq2mX Original-Xref: shelby.stanford.edu gnu.emacs.help:148238 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:43828 Archived-At: On 9 Maj, 09:05, stro...@math.uib.no (Stein Arild Str=F8mme) wrote: > [Allan Gottlieb] > > | I use a dark (actually black) background and like it, except for a > | problem with printing. Although I mainly encounter the problem with > | gnus, I believe it is an emacs, rather than qnus, question so I am > | asking it here. > | > | The function in question is ps-print-buffer-with faces, which works > | just as expected and produces a hard copy that resembles the screen. > | > | 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) I have also wondered about this problem for quite some time. If believe the above statement strips away all colors which I think is not what Allan wants. If I do want to use the light-background coloring when printing, should I then temporarily set the frame background to white, print and then switch back? If so how do I dynamically change the background of a window or frame from dark to light (white) and make the font-locking follow correctly as had I restarted emacs with a light background? /Nordl=F6w