From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: LENNART BORGMAN Newsgroups: gmane.emacs.help Subject: Re: Printing from WindowXP version of emacs Date: Tue, 20 Dec 2005 11:58:49 +0100 Message-ID: <43c7f7d43c63d4.43c63d443c7f7d@net.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7BIT X-Trace: sea.gmane.org 1135082137 28688 80.91.229.2 (20 Dec 2005 12:35:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 20 Dec 2005 12:35:37 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 20 13:35:29 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Eoggv-0005yq-CJ for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Dec 2005 13:34:06 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EogQa-0000JG-VX for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Dec 2005 07:17:13 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EofTX-0004p3-E9 for help-gnu-emacs@gnu.org; Tue, 20 Dec 2005 06:16:11 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EofPx-00048P-3z for help-gnu-emacs@gnu.org; Tue, 20 Dec 2005 06:12:29 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EofDi-0002a1-IA for help-gnu-emacs@gnu.org; Tue, 20 Dec 2005 05:59:53 -0500 Original-Received: from [130.235.208.46] (helo=piraten.student.lu.se) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EofGm-00005B-4C; Tue, 20 Dec 2005 06:03:00 -0500 Original-Received: from net.lu.se (localhost [127.0.0.1]) by piraten.student.lu.se (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0IRS00G0QMI1VN@piraten.student.lu.se>; Tue, 20 Dec 2005 11:58:49 +0100 (MET) Original-Received: from [212.209.42.132] by piraten.student.lu.se (mshttpd); Tue, 20 Dec 2005 11:58:49 +0100 Original-To: Eli Zaretskii X-Mailer: iPlanet Messenger Express 5.2 HotFix 1.14 (built Mar 18 2003) Content-language: sv Content-disposition: inline X-Accept-Language: sv Priority: normal 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:32098 Archived-At: From: Eli Zaretskii > > >You can use the "net use" command to arrange for some port, > like LPT2, > > >to redirect its output to this printer. (I think this is > explained in > > >the Emacs manual.) Then all you need to do to print is to set > > >printer-name to "LPT2", > > > > > > > > I will try, but is there any technical reason to assume that > this works > > differently? > > I don't know, it's hard to tell without taking a good look at how your > printers are configured on that specific system. > > > I guess I can then do > > > > copy file.txt lpt2: > > Yes (but lose the colon after "lpt2", it's redundant). I have tried this now. First I tried net use LPT2: \\host-name\queue-but-not-share-name This queue name is not a share name too and I just got System error 67 has occured. The network name can not be found. Then I used another queue name which is also a share name: net use LPT2: \\host-name\share-and-queue-name This completed fine. Then I did copy file.txt LTP2 No error, but also no output on the printer. Just as before. I also tried using LPT2:. (I also did a "dir L*" ;-) Suggestions?