[ESS] printing a file

Tim Hesterberg timh at insightful.com
Thu Jan 5 01:19:09 CET 2006


I have this in my .emacs:

(if atWorkPC (prog1
  (setq printer-name "\\\\Printserver\\SP")
  (setq lpr-command "C:/Progra~1/Windows NT/Accessories/wordpad.exe")
))

When I use lpr-buffer or a similar command, emacs opens wordpad,
and emacs hangs until I exit wordpad.

I don't think that printer-name is used; I use the normal print dialog
in wordpad to select the printer, and it defaults to another printer.


> From my recent reading on windows emacs, it seems that it is non- 
>trivial to get printing to work. You may want to install the version  
>of Emacs from Stephen's link. I have not had time to experiment with  
>that one yet, but the docs claim that printing works.
>
>Kasper
>
>On Jan 5, 2006, at 12:40 AM, Mark Leeds wrote:
>
>> When I bring up any file in emacs
>> and try to print the file, I get
>>
>> Spoolng with options, ( page headers are not supported )
>>
>> And everything hanfgs and I have to close things
>> Down using the task manager.
>>
>> Is this a problem that has been seen before and
>> Is there an easy way to fix it ? Thanks.
>>
>> I have that load command of ess-site.el in
>> my .emacs file so I imagine the problem
>> is connected to this ? Thanks.
>>
>>                                         mark




More information about the ESS-help mailing list