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, 03 Jan 2006 14:08:38 +0100 Message-ID: <47a3a7947a4ef8.47a4ef847a3a79@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 1136301655 11227 80.91.229.2 (3 Jan 2006 15:20:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 3 Jan 2006 15:20:55 +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 03 16:20:52 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 1Etnxc-0001z0-F1 for geh-help-gnu-emacs@m.gmane.org; Tue, 03 Jan 2006 16:20:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EtnzF-000382-0N for geh-help-gnu-emacs@m.gmane.org; Tue, 03 Jan 2006 10:22:09 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Etlvl-00023I-Ff for help-gnu-emacs@gnu.org; Tue, 03 Jan 2006 08:10:26 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Etlvj-00022R-4Q for help-gnu-emacs@gnu.org; Tue, 03 Jan 2006 08:10:23 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Etlvh-00021h-MD for help-gnu-emacs@gnu.org; Tue, 03 Jan 2006 08:10:22 -0500 Original-Received: from [130.235.208.46] (helo=piraten.student.lu.se) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Etlwu-0007nL-JC; Tue, 03 Jan 2006 08:11:36 -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 <0ISI006XAPUE5S@piraten.student.lu.se>; Tue, 03 Jan 2006 14:08:38 +0100 (MET) Original-Received: from [212.209.42.132] by piraten.student.lu.se (mshttpd); Tue, 03 Jan 2006 14:08:38 +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:32376 Archived-At: From: Eli Zaretskii > > From: BRUCE INGALLS > > > > Windows version 2000 and higher, are bundled with VBScript & > JScript, by > > default. > > I had posted code to gnu.emacs.sources, in Sept. 2005, a way to > retrieve the > > default printer port into Emacs: > > > > > http://groups.google.com/group/gnu.emacs.sources/browse_thread/thread/a9f1a308223bc3b9/e2cf485072e3164b#e2cf485072e3164b> > > You can easily query all manner of Windows printer properties, > > and customize the code above, to bring such into Emacs. > > Thanks. The question is, will this script find usable ports on > systems where people report they cannot find a port name that Emacs > can use? If I run w32prn-customize I get an error. w32prn-default returns something like PDF-XChange My Documents\\*.pdf PRINTER15:PASSTHROU PRINTER15:PASSTHROU PRINTER20:RAW