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

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

Re: Emacs


From: Eli Zaretskii
Subject: Re: Emacs
Date: Wed, 08 Aug 2007 21:26:16 +0300

> Date: Wed, 8 Aug 2007 10:48:32 +0800
> From: <brianjiang@gdnt.com.cn>
> 
> "M-: printer-name RET" displays "PRN". The version is "This is GNU Emacs 
> 22.1.1 (i386-mingw-nt5.1.2600)"
> 
> I have never configured the printer for Emacs since I never try to use Emacs 
> to print anything before. But in my computer, the printer has been setup and 
> works well for other programs (and actually it doesn't need a separated 
> printer setup for those programs. I just setup the printer in the system and 
> then other programs can printe well. But it seems Emacs doesn't act in the 
> same way.).

Then I suggest to download and install PrintFile
(http://www.lerup.com/printfile/), and then configure Emacs to use
that program as the printer driver.  Something like this (in your
~/.emacs file):

 (setq printer-name nil)
 (setq lpr-command "C:/Program Files/PrintFile/prfile32.exe")
 (setq lpr-switches '("/q"))
 (setq ps-lpr-command "C:/Program Files/PrintFile/prfile32.exe")
 (setq ps-lpr-switches '("/q"))




reply via email to

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