From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: bojohan+news@dd.chalmers.se (Johan =?iso-8859-1?q?Bockg=E5rd?=) Newsgroups: gmane.emacs.help Subject: Re: Creating a function to change custom-set-faces Date: Tue, 15 Apr 2003 20:12:34 +0200 Organization: Chalmers University of Technology, Sweden Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <445cd6bf.0304150144.2715e520@posting.google.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1050430800 22084 80.91.224.249 (15 Apr 2003 18:20:00 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 15 Apr 2003 18:20:00 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 15 20:19:58 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 195V2D-0005jx-00 for ; Tue, 15 Apr 2003 20:19:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 195V2b-0000FE-00 for gnu-help-gnu-emacs@m.gmane.org; Tue, 15 Apr 2003 14:20:21 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed1!bredband!uio.no!news.netg.se!dd.chalmers.se!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 55 Original-NNTP-Posting-Host: helm.dd.chalmers.se Mail-Copies-To: never User-Agent: Gnus/5.090018 (Oort Gnus v0.18) Emacs/21.2 (usg-unix-v) Cancel-Lock: sha1:G3ZaSZuNcCRWZUm6FVS456BUBgE= Original-Xref: shelby.stanford.edu gnu.emacs.help:112009 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:8509 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:8509 j_del_strother@hotmail.com (Jon) writes: > I tried M-x custom-set-faces, which doesn't exist. The function does exist, but it is not interactive (hence M-x doesn't work). See C-h f custom-set-faces > I have a set of custom colors set up in emacs that I find much > easier on the eyes - lots of greens & pastels. Unfortunately, it > doesn't print too nicely. You might also want to look at ps-print.el (it should be in the lisp directory). If so there is plenty in that file to read. ,----[ ps-print.el ] | ;; About ps-print | ;; -------------- | ;; | ;; This package provides printing of Emacs buffers on PostScript | ;; printers; the buffer's bold and italic text attributes are | ;; preserved in the printer output. ps-print is intended for use | ;; with Emacs or Lucid Emacs, together with a fontifying package | ;; such as font-lock or hilit. | ;; | ;; ps-print uses the same face attributes defined through font-lock | ;; or hilit to print a PostScript file, but some faces are better | ;; seeing on the screen than on paper, specially when you have a | ;; black/white PostScript printer. | ;; | ;; ps-print allows a remap of face to another one that it is better | ;; to print, for example, the face font-lock-comment-face (if you | ;; are using font-lock) could have bold or italic attribute when | ;; printing, besides foreground color. This remap improves printing | ;; look (see How Ps-Print Maps Faces). | | [...] | | ;; How Ps-Print Deals With Color | ;; ----------------------------- | ;; | ;; ps-print detects faces with foreground and background colors | ;; defined and embeds color information in the PostScript image. The | ;; default foreground and background colors are defined by the | ;; variables `ps-default-fg' and `ps-default-bg'. | ;; On black/white printers, colors are displayed in gray scale. To | ;; turn off color output, set `ps-print-color-p' to nil. You can | ;; also set `ps-print-color-p' to 'black-white to have a better | ;; looking on black/white printers. See also `ps-black-white-faces' | ;; for documentation. | | [...] `---- -- Johan Bockgård