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, 09 Jan 2006 09:29:14 +0100 Message-ID: <49e1de249db600.49db60049e1de2@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 1136795653 22589 80.91.229.2 (9 Jan 2006 08:34:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 9 Jan 2006 08:34:13 +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 Jan 09 09:34:11 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 1EvsTh-0005A2-06 for geh-help-gnu-emacs@m.gmane.org; Mon, 09 Jan 2006 09:34:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EvsVa-00060h-Ta for geh-help-gnu-emacs@m.gmane.org; Mon, 09 Jan 2006 03:36:07 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EvsR1-0004Mm-L6 for help-gnu-emacs@gnu.org; Mon, 09 Jan 2006 03:31:24 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EvsQy-0004Lo-EW for help-gnu-emacs@gnu.org; Mon, 09 Jan 2006 03:31:21 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EvsQt-0004Kl-VO for help-gnu-emacs@gnu.org; Mon, 09 Jan 2006 03:31:17 -0500 Original-Received: from [130.235.208.46] (helo=piraten.student.lu.se) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EvsT7-000642-Tf; Mon, 09 Jan 2006 03:33:34 -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 <0IST00B1HGWQI8@piraten.student.lu.se>; Mon, 09 Jan 2006 09:29:14 +0100 (MET) Original-Received: from [212.209.42.132] by piraten.student.lu.se (mshttpd); Mon, 09 Jan 2006 09:29:14 +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:32556 Archived-At: From: Eli Zaretskii > > Date: Sat, 7 Jan 2006 00:00:24 -0500 > > From: BRUCE INGALLS > > > > > > Date: Thu, 05 Jan 2006 22:01:16 +0100 > > > > From: Lennart Borgman > > > > > > > > >>(default-printer-name) returns \\host-name\1234567890 > > > > >> > > > > > > Ehum, I did not test because it looks so very strange. I > will try it > > > > next week. Do you really expect something like that to work? > I mean it > > > > is exactly those figures I wrote above. > > > > That sure does not look right. > > What doesn't look right, exactly? I took the above as a template, not > as a literal string that is the printer's name. If it's a literal > string, then it is indeed strange, but default-printer-name simply > calls GetProfileString and GetPrinter APIs, so whatever those return, > it's the system's notion of the printer. Unless there's a bug in > default-printer-name, in which case please step through it and tell > what goes wrong there. I have felt a bit nervous over the weekend. Did I really test this with -Q? Or is it something long forgotten I have in my initialization files. I tried again with -Q. And yes, it is literally the share name I told ("1234567890").