help-emacs-windows
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [h-e-w] How to setup network printer in GNU Emacs?


From: Charley Hamilton
Subject: Re: [h-e-w] How to setup network printer in GNU Emacs?
Date: Fri, 08 Nov 2002 08:20:54 -0800
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0

Raymond -

I use the following code in my .emacs to print to a ps file.
I can't tell you where I snagged it from, as it's been many years
now, but potentially from the NTEmacs FAQ site.

;; added 21 July 2000 chamilto
(global-set-key [f9] 'print-color-buffer) ;print color buffer to file
(setq ps-print-color-p t) ;sets default to be color on for ps-print
(defun print-color-buffer () "Print buffer to color PS file."
   (interactive)
   (ps-print-buffer-with-faces (concat (buffer-file-name) ".ps")))

Charley Hamilton

--
Charles Hamilton, PhD EIT               Faculty Fellow
Department of Civil and                 Phone: 949.824.3752
    Environmental Engineering           FAX:   949.824.2117
University of California, Irvine        Email: address@hidden






reply via email to

[Prev in Thread] Current Thread [Next in Thread]