From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: thorne Newsgroups: gmane.emacs.help Subject: Re: ps-pring questions Date: Thu, 01 Mar 2007 18:30:36 -0800 Organization: Aioe.org NNTP Server Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1172803302 22844 80.91.229.12 (2 Mar 2007 02:41:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 2 Mar 2007 02:41:42 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 02 03:41:36 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 1HMxiC-0005mY-1J for geh-help-gnu-emacs@m.gmane.org; Fri, 02 Mar 2007 03:41:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HMxiB-00020Q-Jh for geh-help-gnu-emacs@m.gmane.org; Thu, 01 Mar 2007 21:41:35 -0500 Original-Path: shelby.stanford.edu!newshub.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!news.germany.com!aioe.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 51 Original-NNTP-Posting-Host: xwsRWiKvRGrGFeJyiuDlQw.user.aioe.org Original-X-Complaints-To: abuse@aioe.org Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAMFBMVEVHQD/3+vz9+/4lPlF4 kLzv5t79/f/9+PWnTVUiJy5JV3KkoIj////Mx8YWFBP9+vzFQ3bFAAACMUlEQVQ4jb3RP2gTURwH 8HPocCmNnNAI1SJZMikOl+UibpkOHCqciiGUy/CEehKXFFGKa8ClUJd3B2fksvRC04QaJTnOUIcb JJJ2SKDGSNcr+KNXMEMQnodJte+Srj5404fv+/15TOucw/xXcMj1c8CbBl/2EbpxdwrIO8Idbis2 BRobPM9XKfgUy1xOvxP5BM/HL3FZOeKMQB4gbmmxkTR5gzeaOekkNgbEPZLSKcM0/Kf428vzS8hR /kDWWcvbvQ1ewP69xfWlyLhGZvdZ/gO3KcykKqqlcWvWqjICRc69ekl2hDnJP2r0QX4VjbtyCPHk A8zMdqTKCEY1Wu0s4hbrQsLg6/FENNc5UZTTAR20oJeKoqgmC902cs5M3v65Z5mm2CgmulGkoH/Q cl4wltVJN0IRP6Cc3dVuT7X7/frMr4klVsyE1RDWvwVhBSeTSVEAWw7AMS6K2ATYukYD+ghFERiA 6oCCNmEhLgLW4YJHgfMY4LWoY4AjQsOxDsWkvg4A3WnAuDpcpGFBB8MEH+waDUMtXcF+Da2WpmHe lr5iF7uaRSdapNdnsAug9pbpxIAM1bDfk0boAVso87yAwdXfogD422V9YKsTa39isnrZxdtXg/C5 gI/KLvNmIrEShh/lQ3Yyscfq298B9hUaHPQwfHh/OFuY8wJdyQeVQ/LUtTZt+gedQaFRbl4B1TSb NHhaKfw+mq6EmMB/cKUQc0++6RHCBbpKWbW/ZSlwEAnAb3NDHSx48elnAAAAAElFTkSuQmCC Cancel-Lock: sha1:ETTf9/itZP0qZhVEwCF3MAwp6ME= User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.51 (gnu/linux) Original-Xref: shelby.stanford.edu gnu.emacs.help:145980 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:41584 Archived-At: thorne writes: > 1. Is there a way (in Emacs lisp) to set not just the font family, > but the font style (bold, etc) of header lines? It seems to be > defaulting to bold, but looking at the code, i haven't figured out > where it's getting this. > > 2. Related: is there a way to get ps-print to use a different font > style default for the whole document? My .emacs has a customize line > that sets the default font style to semi-bold for all buffers so i can > see it, but i'd rather ps-print treated the default as regular, > non-bold. Any idea how to do this? Can default font properties be > set in a buffer-local way? Well, i figured out an answer for the first two questions, at least for my purposes. Use font family 'Foo for everything and do something like: (setq ps-font-info-database (append '((Foo (fonts (normal . "Courier") (bold . "Courier") (italic . "Courier") (bold-italic . "Courier")) (size . 10.0) (line-height . 10.55) (space-width . 6.0) (avg-char-width . 6.0))) ps-font-info-database)) But i'm still working on: > 3. Is there a way to get ps-print to suppress the header for the > first page of the output only? and a new one: 4. I have figured out how to get a page number with "/pagenumberstring load" in the header, but lets say i wanted the line to look like "Page 4"? If it try something like (set (make-local-variable 'ps-right-header) (list "(Page ) /pagenumberstring load")) gv gives me a postscript error and won't load the file. Any ideas how i could accomplish this? -- þ theron tlax þ