From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Francois Fleuret Newsgroups: gmane.emacs.help Subject: Re: postscript print buffer Date: 30 Apr 2003 21:29:53 +0200 Organization: I.N.R.I.A Rocquencourt Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1051732527 19496 80.91.224.249 (30 Apr 2003 19:55:27 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 30 Apr 2003 19:55:27 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 30 21:55:24 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 19Axfo-00054G-00 for ; Wed, 30 Apr 2003 21:55:24 +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 19Axfw-0002y7-05 for gnu-help-gnu-emacs@m.gmane.org; Wed, 30 Apr 2003 15:55:32 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsmi-us.news.garr.it!newsbo.news.garr.it!NewsITBone-GARR!newsfeed.cineca.it!newsserver.cilea.it!univ-lyon1.fr!unice.fr!news.cma.fr!news-sop.inria.fr!news-rocq.inria.fr!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 27 Original-NNTP-Posting-Host: wasabi.inria.fr Original-X-Trace: news-rocq.inria.fr 1051730993 16076 128.93.23.201 (30 Apr 2003 19:29:53 GMT) Original-X-Complaints-To: usenet@inria.fr Original-NNTP-Posting-Date: Wed, 30 Apr 2003 19:29:53 +0000 (UTC) X-Attribution: FF X-Url: http://www-rocq.inria.fr/~fleuret User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Original-Xref: shelby.stanford.edu gnu.emacs.help:112588 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:9085 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:9085 Hi, Niels Freimann wrote on 30 Apr 2003 18:39:06 MET: > I appreciate postscript print buffer very much, however I don't know > how to configure larger fonts. Any idea? (setq ps-font-size 12) seems to do that sort of thing. And have you noticed that PC keyboards have a "print" key ? This is my setting for ps-print: >> (defun ps-print-in-file (filename) >> "Prints the buffer in a postscript file" (interactive "FPS file: ") >> (ps-print-buffer-with-faces filename)) >> >> (define-key global-map [(print)] 'ps-print-in-file) >> (define-key global-map [(shift print)] 'ps-print-buffer-with-faces) So that [print] alone prints to a file (and asks for the filename first) and [shift print] prints directly. Regards, FF