From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "B. T. Raven" 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: Thu, 09 Apr 2009 09:57:11 -0500 Message-ID: References: <43393e17-505b-4959-9553-f0ce8c22fe29@i28g2000prd.googlegroups.com> <6613cc62-4509-4b17-8846-65be6f320415@z19g2000vbz.googlegroups.com> <0d57dc21-f90b-4729-94bc-383c93034381@f18g2000vbf.googlegroups.com> <311ef8cd-e646-47c2-89d1-ef194991032d@k8g2000yqn.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1239292097 1481 80.91.229.12 (9 Apr 2009 15:48:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Apr 2009 15:48:17 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 09 17:49:35 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 1LrwVT-00032H-J2 for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Apr 2009 17:49:35 +0200 Original-Received: from localhost ([127.0.0.1]:57000 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LrwU5-0003JF-5K for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Apr 2009 11:48:09 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!backlog2.nntp.dca.giganews.com!nntp.sysmatrix.net!news.sysmatrix.net.POSTED!not-for-mail Original-NNTP-Posting-Date: Thu, 09 Apr 2009 09:57:11 -0500 User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) Original-Newsgroups: gnu.emacs.help In-Reply-To: <311ef8cd-e646-47c2-89d1-ef194991032d@k8g2000yqn.googlegroups.com> Original-Lines: 40 X-Usenet-Provider: http://www.giganews.com Original-NNTP-Posting-Host: 12.73.129.235 Original-X-Trace: sv3-aJuNSyPCg5VW52YmFo0E3FbkdbLIfTSCafkKUYfCqrNBrmz8gyiMdj6AhFCiRgHatIx280Rxdkafxcf!6rkmXJyHGAlHFTW2+gIn3MkVQIMqtC/+1I3gDLoUmkDWI+qxQjr3/Ag6V1+OLuvb8GJTfINT6XhC!90Dep8ANA3fc3djuBG/I3hqpxgECouY= Original-X-Complaints-To: abuse@sysmatrix.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.39 X-Original-Bytes: 3661 Original-Xref: news.stanford.edu gnu.emacs.help:168329 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:63610 Archived-At: ChristopherL wrote: > On Apr 8, 11:38 am, ChristopherL wrote: >> I downloaded the two files to the right place (.emacs found it), >> changed .emacs to refer to hfyview as above, and within Emacs >> customized variable printer-name to both default and what I got from >> (Start, Printer and Faxes, Properties, General Tab). >> > > When I open a file, I temporarily get another window before my window > displays the requested file. > I put hfyview.el and htmlfontify.el in C:\Program Files > \emacs-22.2\emacs-22.2\lisp\emacs-lisp. Both files are read/writeable. I have these in \emacs\lisp but they can go in any subdirectory in load-path, most appropriately in \emacs\site-lisp if you want to keep ...\lisp pristine. > > In the temporary window, among other things it says: > > An error has occurred while loading 'c:/Documents and Settings/... > > File error: Cannot open load file, hfyview > > Chris Maybe your installation is hosed. runemacs.exe is at least one subdirectory lower than it has to be since there is a stutter on .../emacs-22.2/emacs-22.2... Did you run addpm.exe? Is Emacs listed as a removable program in Control Panel Add Remove Programs? Does Control-h v load-path include the subdir where you put Lennart's files? If you have to reinstall Emacs I would recommend you get the 22.3 binararies and put them in C:/emacs (that is, unzip it directly into the root C:\ and afterwards change the name of emacs-22.3 to emacs. If you want to do anything from command window (used to be dos shell) then it's better not to have everything deeply buried in the file hierarchy. Also, it's better for windows not to know any more about Emacs than it needs to. Then when you are ready to upgrade to 23.1 you can temporarily change "emacs" to whatever the top level unzip target is and install the new Emacs on top of the old one.