From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bauke Jan Douma Newsgroups: gmane.emacs.help Subject: Re: printing with dark background and faces Date: Wed, 09 May 2007 10:41:12 +0200 Organization: a training zoo Message-ID: <46418928.2050909@xs4all.nl> References: Reply-To: bjdouma@xs4all.nl NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1178700108 31492 80.91.229.12 (9 May 2007 08:41:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 9 May 2007 08:41:48 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Allan Gottlieb Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 09 10:41:45 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 1Hlhjx-0003q8-17 for geh-help-gnu-emacs@m.gmane.org; Wed, 09 May 2007 10:41:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hlhr7-0002Xc-A8 for geh-help-gnu-emacs@m.gmane.org; Wed, 09 May 2007 04:49:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hlhql-0002SD-Ct for help-gnu-emacs@gnu.org; Wed, 09 May 2007 04:48:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hlhqj-0002Pp-TF for help-gnu-emacs@gnu.org; Wed, 09 May 2007 04:48:43 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hlhqj-0002Ph-K2 for help-gnu-emacs@gnu.org; Wed, 09 May 2007 04:48:41 -0400 Original-Received: from smtp-vbr13.xs4all.nl ([194.109.24.33]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HlhjY-0003Ck-0q for help-gnu-emacs@gnu.org; Wed, 09 May 2007 04:41:16 -0400 Original-Received: from [192.168.1.240] (skyscraper.xs4all.nl [82.95.236.142]) (authenticated bits=0) by smtp-vbr13.xs4all.nl (8.13.8/8.13.8) with ESMTP id l498fCio031173; Wed, 9 May 2007 10:41:12 +0200 (CEST) (envelope-from bjdouma@xs4all.nl) User-Agent: Thunderbird 2.0.0.0 (X11/20070326) In-Reply-To: X-Virus-Scanned: by XS4ALL Virus Scanner X-detected-kernel: FreeBSD 4.6-4.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:43829 Archived-At: Allan Gottlieb wrote on 08-05-07 23:28: > 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? There may be a quick solution to this from within emacs, but I really couldn't tell at the moment. Anyway, I toyed with this last week, and what I did was install htmlfontify.el (-> google), make an html from the file in question from within emacs, then started up nvu (-> google), read in the html-page, changed background to white and voila. Htmlfontify and nvu are little gems. Some colors though (yellow) do not look very good on a white background, but that's another problem. bjd