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: Mon, 19 Dec 2005 23:11:01 +0100 Message-ID: <43A72FF5.7000505@student.lu.se> References: <431813e4315b3a.4315b3a431813e@net.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1135030371 8867 80.91.229.2 (19 Dec 2005 22:12:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 19 Dec 2005 22:12:51 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Dec 19 23:12:50 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EoTEX-0003JV-IM for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Dec 2005 23:11:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EoTFP-0004TC-9O for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Dec 2005 17:12:47 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EoTEe-0004Af-2N for help-gnu-emacs@gnu.org; Mon, 19 Dec 2005 17:12:00 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EoTEc-00049k-92 for help-gnu-emacs@gnu.org; Mon, 19 Dec 2005 17:11:59 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EoTEc-00049d-2I for help-gnu-emacs@gnu.org; Mon, 19 Dec 2005 17:11:58 -0500 Original-Received: from [81.228.11.159] (helo=pne-smtpout2-sn1.fre.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EoTHc-0002GI-1U; Mon, 19 Dec 2005 17:15:04 -0500 Original-Received: from [192.168.123.121] (83.249.218.244) by pne-smtpout2-sn1.fre.skanova.net (7.2.069.1) id 43A6B2330002A9D5; Mon, 19 Dec 2005 23:11:02 +0100 User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en Original-To: Eli Zaretskii In-Reply-To: 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:32079 Archived-At: Eli Zaretskii wrote: >>Date: Mon, 19 Dec 2005 12:18:48 +0100 >>From: LENNART BORGMAN >>Cc: help-gnu-emacs@gnu.org >> >>To be sure on what I am doing I then went to the host for the queue to find the share name instead of the queue name: >> >> >> c:\> copy file.txt \\host-name\share-name >> >>This swallowed the job but I get no output and nothing is shown in the printer queue (where I normally see all waiting jobs). >> >> > >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 guess I can then do copy file.txt lpt2: or should not this work too? Also, when accessing the printer on this level, as Iliya said, there might be some problems. It was a long time ago I looked into this more in details, but what about the reset of the printer for example? Can we be sure this is done here? I am sure I have seen problems with this before, but I forgotten exactly under which circumstances. (It might not be under MS Windows.) Does someone has a good link to an overview of the printer reset, entry points to the printer queue etc on MS Windows?