From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: rustom Newsgroups: gmane.emacs.help Subject: Re: How To Print To Printer GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600) of 2008-03-26 on RELEASE Date: Wed, 8 Apr 2009 07:26:43 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <43393e17-505b-4959-9553-f0ce8c22fe29@i28g2000prd.googlegroups.com> <6613cc62-4509-4b17-8846-65be6f320415@z19g2000vbz.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1239201973 31618 80.91.229.12 (8 Apr 2009 14:46:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 Apr 2009 14:46:13 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 08 16:47:33 2009 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 1LrZ3Q-0005br-C8 for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Apr 2009 16:47:04 +0200 Original-Received: from localhost ([127.0.0.1]:40503 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LrZ22-0006yh-5z for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Apr 2009 10:45:38 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!r15g2000vbi.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 35 Original-NNTP-Posting-Host: 220.225.70.2 Original-X-Trace: posting.google.com 1239200803 27953 127.0.0.1 (8 Apr 2009 14:26:43 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 8 Apr 2009 14:26:43 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: r15g2000vbi.googlegroups.com; posting-host=220.225.70.2; posting-account=mBpa7woAAAAGLEWUUKpmbxm-Quu5D8ui User-Agent: G2/1.0 X-HTTP-Via: 1.1 PT-PROXY2 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:168282 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:63563 Archived-At: On Apr 8, 6:57=A0pm, ChristopherL wrote: > On Apr 7, 8:18=A0pm, "B. T. Raven" wrote: > > > Add this line to your .emacs: > > (require 'hfyview) > > > Add the files hfyview.el and htmlfontify.el to /emacs/lisp directory or > > another directory in load-path. > > Easymenu.el should already be in /emacs/lisp/emacs-lisp directory. > > Where can I get hfyview.el and htmlfontify.el. They are not on my C > drive. > > Chris Setting up printing on windows is quite a feat I hardly understand all the details but what Ive figured out on my setup is: At the least I need these two things (setq printer-name "//network/path/to/printer") (setq ps-printer-name t) However this prints without the typical printer dialog that all other windows applications give. If I add (setq ps-lpr-command "C:/Program Files/gs/gs8.63/bin/ gswin32c.exe") ;; obviously use the correct path for you here which means also setup ghostscript. (setq ps-lpr-switches '( "-dNOPAUSE" "-dBATCH" "-sDEVICE=3Dmswinpr2")) then the dialog also appears. I find this mysterious because these variables seem to be part of the printing package (without (require 'printing) no help is available for them) but yet they change the behavior of printing