From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Herb Martin" Newsgroups: gmane.emacs.help Subject: Re: Printing in windows Date: Sat, 02 Aug 2003 19:07:54 GMT Organization: Road Runner - Texas Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org X-Trace: main.gmane.org 1059853657 3735 80.91.224.253 (2 Aug 2003 19:47:37 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 2 Aug 2003 19:47:37 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 02 21:47:50 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19j2M2-0007zx-00 for ; Sat, 02 Aug 2003 21:47:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19j1mQ-0003tu-5V for geh-help-gnu-emacs@m.gmane.org; Sat, 02 Aug 2003 15:11:02 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!elnk-nf2-pas!elnk-pas-nf1!newsfeed.earthlink.net!newsfeed2.easynews.com!newsfeed1.easynews.com!easynews.com!easynews!news-west.rr.com!news.rr.com!cyclone.austin.rr.com!twister.austin.rr.com.POSTED!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 26 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-Mimeole: Produced By Microsoft MimeOLE V6.00.2800.1165 Original-NNTP-Posting-Host: 66.68.35.45 Original-X-Complaints-To: abuse@rr.com Original-X-Trace: twister.austin.rr.com 1059851274 66.68.35.45 (Sat, 02 Aug 2003 14:07:54 CDT) Original-NNTP-Posting-Date: Sat, 02 Aug 2003 14:07:54 CDT Original-Xref: shelby.stanford.edu gnu.emacs.help:115638 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:11556 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:11556 > I am using GNU Emacs 21.1.1 on win2k. How do I get it to print? That > is, how do I "name" the printer? I am new here myself but here's a link: http://freebooks.by.ru/view/EmacsIn24h/emacs018.htm An excerpt... <<< For most people setting the printer for NT Emacs is simple. You leave it alone and Emacs prints to the default printer. (setq printer-name "LPT1:") Put this or something like it into your .emacs file. Although PRN is the preferred default printer for Windows (it always points to your default printer), sometimes you are better off selecting a specific printer such as LPT1. You can also set your printer to a network shared printer: (setq printer-name "//server/deskjet") >>> All that talk of PRN and LTP1 seems a little dated but looks like it will work.