From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Emacs Date: Wed, 08 Aug 2007 21:26:16 +0300 Message-ID: References: <63F95800EDD046419F17688AAFD41CCF01C06C04@rnd-ex01.rnd.gdnt.local> NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1186601109 8856 80.91.229.12 (8 Aug 2007 19:25:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 8 Aug 2007 19:25:09 +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 Aug 08 21:25:06 2007 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 1IIr9R-0006a2-5H for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Aug 2007 21:25:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IIr9P-0006o6-Sh for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Aug 2007 15:24:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IIr9A-0006nk-Gl for help-gnu-emacs@gnu.org; Wed, 08 Aug 2007 15:24:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IIr98-0006nU-0E for help-gnu-emacs@gnu.org; Wed, 08 Aug 2007 15:24:43 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IIr97-0006nR-QX for help-gnu-emacs@gnu.org; Wed, 08 Aug 2007 15:24:41 -0400 Original-Received: from heller.inter.net.il ([213.8.233.23]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IIr97-0001K8-Dq for help-gnu-emacs@gnu.org; Wed, 08 Aug 2007 15:24:41 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-84-228-213-159.inter.net.il [84.228.213.159]) by heller.inter.net.il (MOS 3.7.3a-GA) with ESMTP id DIB74337 (AUTH halo1); Wed, 8 Aug 2007 21:26:24 +0300 (IDT) In-reply-to: <63F95800EDD046419F17688AAFD41CCF01C06C04@rnd-ex01.rnd.gdnt.local> (brianjiang@gdnt.com.cn) X-Detected-Kernel: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) 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:46420 Archived-At: > Date: Wed, 8 Aug 2007 10:48:32 +0800 > From: > > "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"))