From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: robert.thorpe@antenova.com (Rob Thorpe) Newsgroups: gmane.emacs.help Subject: Re: Problem with Emacs -> Windows -> printer Date: 1 Aug 2003 09:11:39 -0700 Organization: http://groups.google.com/ Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <1a61f7e5.0308010811.5063579e@posting.google.com> References: NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1059759703 4389 80.91.224.249 (1 Aug 2003 17:41:43 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 1 Aug 2003 17:41:43 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 01 19:41:40 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19idtG-00015Q-00 for ; Fri, 01 Aug 2003 19:40:30 +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 19idXE-00047V-Sf for geh-help-gnu-emacs@m.gmane.org; Fri, 01 Aug 2003 13:17:44 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 40 Original-NNTP-Posting-Host: 212.135.40.163 Original-X-Trace: posting.google.com 1059754300 14237 127.0.0.1 (1 Aug 2003 16:11:40 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: 1 Aug 2003 16:11:40 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:115615 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:11527 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:11527 Joe Fineman wrote in message news:... > I am running Gnu Emacs 21.1.1 under (pardon the expression) Windows > 98. > > I have two printers: a dot-matrix printer, whose port is known to > Windows as "LPT1: (ECP printer-port)", and an inkjet printer, whose > port is "USB/DeskJet 990C/MY0AK1B0HQLH". Emacs communicates > successfully with the former, the value of the variable printer-name > being PRN. The latter, however, I can only get at thru Windows, using > the trackball. > > Regardless of which is the default printer, when I try to print > something out from within Emacs, either by using M-x TeX-print or by > using "lpr -d" within the Cygwin quasi shell, I get a popup window > that says in part > > winlpr -S > -P > [-N]UserName > > This seems to say that Emacs invokes, and lacks parameters to pass to, > a Windows routine called winlpr, and that it requires a servername and > a printername. I cannot find winlpr in the Windows help or in the > dummies or the nutshell book. Google gives me people with something > to sell. > > Nor can I find anything about servers or servernames. I have tried > windows-nt and 2000; the former gives an error message, and the latter > causes the computer to try (but fail) to call in to my ISP! What is > winlpr expecting? (Suppose I wished to know what a server actually is > -- where would I look that up?) > > As to the printername, the nutshell books says it is usually the model > name. Does that mean 990C, or "DeskJet 990C", or > "USB/DeskJet 990C/MY0AK1B0HQLH"? > > Thank you for your attention and patience. Share the printer over the network (even if there isn't one). Then set Emacs to do >\\Computername\printername by customizing printer-name.