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: [Solved] Re: Printing in Windows w/ NetGear FR114P Firewall/Printserver Date: Fri, 14 Nov 2003 22:53:00 -0500 Organization: Cox Communications Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <6.0.0.22.0.20031114142111.02473530@pop.gator.net> <7Hgtb.4236$HD3.3317@lakeread06> 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 1068868834 28278 80.91.224.253 (15 Nov 2003 04:00:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 15 Nov 2003 04:00:34 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Nov 15 05:00:30 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 1AKrbp-0007V3-00 for ; Sat, 15 Nov 2003 05:00:29 +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 1AKsYH-0006Lg-FT for geh-help-gnu-emacs@m.gmane.org; Sat, 15 Nov 2003 00:00:53 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!nntp.cs.ubc.ca!nntp-relay.ihug.net!ihug.co.nz!west.cox.net!east.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: <7Hgtb.4236$HD3.3317@lakeread06> Original-Lines: 91 Original-NNTP-Posting-Host: 68.226.3.119 Original-X-Complaints-To: abuse@cox.net Original-X-Trace: lakeread06 1068868363 68.226.3.119 (Fri, 14 Nov 2003 22:52:43 EST) Original-NNTP-Posting-Date: Fri, 14 Nov 2003 22:52:43 EST Original-Xref: shelby.stanford.edu gnu.emacs.help:118301 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:14242 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:14242 Found the answers to my problem -- first turned on print sharing in Windows. Then "net view" gives the server and "net view servername" gives the printer. Then installed EMacro http://emacro.sourceforge.net/ & now everything works beautifully. EMacro is a very clever piece of software. Quite cool. Thanks -- the help I got was all I needed, that and about 3 hours. -Greg Yasko Greg Yasko wrote: > 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"). >>> >>> >> >