From xemacs-m  Fri Jan 17 03:08:19 1997
Received: from mgate.uni-hannover.de (mgate.uni-hannover.de [130.75.2.3])
          by xemacs.org (8.8.4/8.8.4) with SMTP
	  id DAA01607 for <xemacs-beta@xemacs.org>; Fri, 17 Jan 1997 03:07:48 -0600 (CST)
Received: from helios (actually helios.tnt.uni-hannover.de) by mgate 
          with SMTP (PP); Fri, 17 Jan 1997 10:07:03 +0100
Received: from daedalus.tnt.uni-hannover.de by helios (SMI-8.6/SMI-SVR4) 
          id KAA13670; Fri, 17 Jan 1997 10:06:33 +0100
Received: by daedalus.tnt.uni-hannover.de (SMI-8.6/SMI-SVR4) id KAA21054;
          Fri, 17 Jan 1997 10:06:29 +0100
Date: Fri, 17 Jan 1997 10:06:29 +0100
Message-Id: <199701170906.KAA21054@daedalus.tnt.uni-hannover.de>
From: Heiko Muenkel <muenkel@tnt.uni-hannover.de>
To: wmperry@aventail.com
Cc: xemacs-beta@xemacs.org
Subject: Re: PostScript output...
In-Reply-To: <199701161911.LAA32555@newman>
References: <199701161911.LAA32555@newman>
X-Face: n}R'l6CHRf>pi&bj7[x0CW3:kmXm@1)7m+l*9[fp;-Ow4Xe~=5E;skf?2> 
        y]f{HzB|Q(\V9+y$PP~.4G[2n4W7{6Ilm[AMY9B:0kj.K_$-d%p4YIF*bX;=ADp6{ 
        HS@NEv9c.VII+9PgXHASx}K(jy^t=q%qzZ72q1e4E;O!$A$`&wgtLk"1%p.nC_G!] 
        4d1!+J4Q#YD_iXeEy`1x)d\r$1Qn\'23n|[8Y_xzuXJJ7W(EGqnzB]`]aq??;+z=) 
        DW~\'Vq&F'g%QU[Mv2:}nS>SdZFTEC2GsgB=Q,:~H<R5S[:ZN%B:s0;|v1x"Jb
Mime-Version: 1.0 (generated by tm-edit 7.90)
Content-Type: text/plain; charset=US-ASCII

>>>>> "William" == William M Perry <wmperry@aventail.com> writes:

    William> Hey, why don't we have a 'postscript' device class?  This
    William> would kick ass for printing.  Just:

    William> (defun cool-print (buffer) (let ((old-message
    William> (symbol-function 'message)) (old-dev (selected-device))
    William> (dev (make-device 'postscript
    William> "/path/to/file/to/save.ps"))) (fset 'message 'ignore)
    William> (select-device dev) (display-buffer buffer) ; send the
    William> entire buffer to the device (select-device old-dev)
    William> (delete-device dev) ; This would close the file (fset
    William> 'message old-message)))

I think, that another good reason for such a device is the possibilty
to use special faces for it. That is usefull if you use a background
color other than white and you don't want to let your printer print
the whole page with this background color or if you have a color
display but only a black and white printer, so that you want to use
colors for the font lock mode on the screen but different fonts on the
printer output.

