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: Sat, 07 Jan 2006 11:18:43 +0200 Message-ID: References: <534d19de0601062100l285844b4w7049252f48ee0ea3@mail.gmail.com> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1136627444 29887 80.91.229.2 (7 Jan 2006 09:50:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 7 Jan 2006 09:50:44 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 07 10:50:42 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 1EvAic-0007tM-DV for geh-help-gnu-emacs@m.gmane.org; Sat, 07 Jan 2006 10:50:39 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EvASm-0001H4-Tv for geh-help-gnu-emacs@m.gmane.org; Sat, 07 Jan 2006 04:34:19 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EvAFl-0004lh-Hw for help-gnu-emacs@gnu.org; Sat, 07 Jan 2006 04:20:49 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EvAFf-0004kb-Vc for help-gnu-emacs@gnu.org; Sat, 07 Jan 2006 04:20:46 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EvAFb-0004js-Sx for help-gnu-emacs@gnu.org; Sat, 07 Jan 2006 04:20:40 -0500 Original-Received: from [192.114.186.66] (helo=romy.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EvAHV-0005sB-Ky for help-gnu-emacs@gnu.org; Sat, 07 Jan 2006 04:22:37 -0500 Original-Received: from HOME-C4E4A596F7 (IGLD-84-228-137-57.inter.net.il [84.228.137.57]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id DIB47926 (AUTH halo1); Sat, 7 Jan 2006 11:18:44 +0200 (IST) Original-To: help-gnu-emacs@gnu.org In-reply-to: <534d19de0601062100l285844b4w7049252f48ee0ea3@mail.gmail.com> (message from BRUCE INGALLS on Sat, 7 Jan 2006 00:00:24 -0500) 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:32525 Archived-At: > 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.