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, 10 Jan 2006 11:19:10 +0100 Message-ID: <4ab8b9e4abbf07.4abbf074ab8b9e@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 1136902856 451 80.91.229.2 (10 Jan 2006 14:20:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 10 Jan 2006 14:20:56 +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 Jan 10 15:20:54 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EwKMj-0006MU-4G for geh-help-gnu-emacs@m.gmane.org; Tue, 10 Jan 2006 15:20:50 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EwKIl-0008RS-Sp for geh-help-gnu-emacs@m.gmane.org; Tue, 10 Jan 2006 09:16:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EwGee-0006c7-9Z for help-gnu-emacs@gnu.org; Tue, 10 Jan 2006 05:23:05 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EwGcv-0006Ln-RH for help-gnu-emacs@gnu.org; Tue, 10 Jan 2006 05:22:00 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EwGct-0006LI-5R for help-gnu-emacs@gnu.org; Tue, 10 Jan 2006 05:21:15 -0500 Original-Received: from [130.235.208.46] (helo=piraten.student.lu.se) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EwGfK-0000iH-1t for help-gnu-emacs@gnu.org; Tue, 10 Jan 2006 05:23:46 -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 <0ISV00CYFGNY08@piraten.student.lu.se> for help-gnu-emacs@gnu.org; Tue, 10 Jan 2006 11:19:10 +0100 (MET) Original-Received: from [212.209.42.132] by piraten.student.lu.se (mshttpd); Tue, 10 Jan 2006 11:19:10 +0100 Original-To: BRUCE INGALLS 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:32572 Archived-At: From: BRUCE INGALLS > That sure does not look right. Here's how you can test it, from the > Windows command line: > net view \\host-name Works ok. Though the name "1234567890" is in the list (a very long list BTW). > print /D:\\host-name\1234567890 file.txt Does not work. I believe the reason is that the printer is not in the state required by this command (as I explained in other messages). ... > Save the above as getPrn2.vbs, and run > cscript getPrn2.vbs There are several problems with this code. All printers are not networked for example. I am using W2k, not XP however. > If the output from this script does not `net view`, nor `print`, then > some sys admin is in order, because it tested fine for me. I do not think any sys admin is in order here - there is nothing I can do about that. The printers works ok, but not in this way.