From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Printing from WindowXP version of emacs Date: Mon, 19 Dec 2005 23:29:32 +0200 Message-ID: References: <431813e4315b3a.4315b3a431813e@net.lu.se> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1135028395 1453 80.91.229.2 (19 Dec 2005 21:39:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 19 Dec 2005 21:39:55 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Dec 19 22:39:54 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EoShh-0007jw-8K for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Dec 2005 22:37:57 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EoSiY-0004g2-NZ for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Dec 2005 16:38:50 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EoSaX-0001c2-0K for help-gnu-emacs@gnu.org; Mon, 19 Dec 2005 16:30:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EoSaO-0001WO-St for help-gnu-emacs@gnu.org; Mon, 19 Dec 2005 16:30:25 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EoSaN-0001Vb-7C for help-gnu-emacs@gnu.org; Mon, 19 Dec 2005 16:30:23 -0500 Original-Received: from [192.114.186.20] (helo=nitzan.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EoSdN-0001W9-4y for help-gnu-emacs@gnu.org; Mon, 19 Dec 2005 16:33:29 -0500 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-80-85.inter.net.il [80.230.80.85]) by nitzan.inter.net.il (MOS 3.7.2-GA) with ESMTP id CGF43941 (AUTH halo1); Mon, 19 Dec 2005 23:29:26 +0200 (IST) Original-To: help-gnu-emacs@gnu.org In-reply-to: <431813e4315b3a.4315b3a431813e@net.lu.se> (message from LENNART BORGMAN on Mon, 19 Dec 2005 12:18:48 +0100) 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:32075 Archived-At: > 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 believe this is what I found last time I tested about two years ago too. It seems that in some circumstances it actually could work, but not in all. That can explain why it has been so hard trying to clear this out. The only hard-to-solve cases that I've met are those where a printer has no \\server\share style name, and no port (PRN, LPT1, etc.) that is captured and redirected to the printer. These cases are quite rare, but when they do happen, the only solution I'm aware of is to use an external program, some work-alike of lpr. But in most cases, the advice in the manual ``just works''.