From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Greg Yasko Newsgroups: gmane.emacs.help Subject: Re: Printing in Windows w/ NetGear FR114P Firewall/Printserver Date: Fri, 14 Nov 2003 22:02:44 -0500 Organization: Cox Communications Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <7Hgtb.4236$HD3.3317@lakeread06> References: <6.0.0.22.0.20031114142111.02473530@pop.gator.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1068866135 25206 80.91.224.253 (15 Nov 2003 03:15:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 15 Nov 2003 03:15:35 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Nov 15 04:15:32 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 1AKquJ-0006YO-00 for ; Sat, 15 Nov 2003 04:15:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AKrqn-0006Zv-Q0 for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Nov 2003 23:15:57 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!t-online.de!peernews3.colt.net!newsfeed.stueberl.de!peer01.cox.net!cox.net!p01!lakeread06.POSTED!not-for-mail User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en Original-Newsgroups: gnu.emacs.help In-Reply-To: Original-Lines: 74 Original-NNTP-Posting-Host: 68.226.3.119 Original-X-Complaints-To: abuse@cox.net Original-X-Trace: lakeread06 1068865347 68.226.3.119 (Fri, 14 Nov 2003 22:02:27 EST) Original-NNTP-Posting-Date: Fri, 14 Nov 2003 22:02:27 EST Original-Xref: shelby.stanford.edu gnu.emacs.help:118300 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:14241 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:14241 Okay. Using the lpr.exe from C:\WINNT\system32 I can print from MSDOS. Issuing "lpr -S 192.168.0.1 -P HP_LaserJet_6L -d test" prints my test file. How could I translate that to the necessary .emacs file entries? Thanks. -Greg Yasko Greg Yasko wrote: > Please assist further if possible. > > When I try "net view" I get "RICHARD-LGFRTR7" and no associated printers > when typing "net view RICHARD_LGFRTR7". But when I look in the > properties page for the printer control panel the port name is FR114P_P1 > and the device address is 192.168.0.1. > > Have tried the following and also have substituted "RICHARD-LGFRTR7" to > no effect: > > (setq lpr-command "") > (setq printer-name "FR114P_P1") > (setq ps-lpr-command "") > (setq ps-printer-name "FR114P_P1") > > Also, the description of "net use" in the emacs manual is for a shared > printer connected to another computer. My printer is hooked up to a > NetGear FR114P Gateway/Router & not directly to another PC. > > I have no idea how to print directly from DOS with this setup & have > tried a number of things. > > Thanks again. > > -Greg > > > > > > > > Eli Zaretskii wrote: > >>> Date: Fri, 14 Nov 2003 14:31:44 -0500 >>> From: Greg Yasko >>> >>> (setq lpr-command "lpr") >> >> >> >> Do you really have a program on your machine called `lpr.exe'? If >> not, the above is wrong. >> >> >>> (setq printer-name "//FR114P_P1/HP_LaserJet_6L") >> >> >> >> Does this name work if you use it from the DOS box's command line? If >> not, you will probably need to use "net use" to redirect one of the >> LPRn ports to this printer, as described in the Emacs manual (in the >> node "MS-DOS Printing"). >> >> >