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: Tue, 03 Jan 2006 07:10:33 +0200 Message-ID: References: <534d19de0601021649n108b853bw46569129d0b82ce9@mail.gmail.com> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1136265050 10797 80.91.229.2 (3 Jan 2006 05:10:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 3 Jan 2006 05:10:50 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 03 06:10:49 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 1EteRb-00054d-Jf for geh-help-gnu-emacs@m.gmane.org; Tue, 03 Jan 2006 06:10:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EteTB-0006Lg-UF for geh-help-gnu-emacs@m.gmane.org; Tue, 03 Jan 2006 00:12:25 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EteSz-0006LY-1k for help-gnu-emacs@gnu.org; Tue, 03 Jan 2006 00:12:13 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EteSu-0006Kr-Cd for help-gnu-emacs@gnu.org; Tue, 03 Jan 2006 00:12:12 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EteSu-0006Ko-5z for help-gnu-emacs@gnu.org; Tue, 03 Jan 2006 00:12:08 -0500 Original-Received: from [192.114.186.20] (helo=nitzan.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EteU4-00063g-DH for help-gnu-emacs@gnu.org; Tue, 03 Jan 2006 00:13:20 -0500 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-66-95.inter.net.il [80.230.66.95]) by nitzan.inter.net.il (MOS 3.7.3-GA) with ESMTP id CIO27916 (AUTH halo1); Tue, 3 Jan 2006 07:10:25 +0200 (IST) Original-To: help-gnu-emacs@gnu.org In-reply-to: <534d19de0601021649n108b853bw46569129d0b82ce9@mail.gmail.com> (message from BRUCE INGALLS on Mon, 2 Jan 2006 19:49:40 -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:32369 Archived-At: > Date: Mon, 2 Jan 2006 19:49:40 -0500 > 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? > Htmlview & notepad make fine stop-gap measures, to make w32 emacs printing > easier. > However, I don't believe there has been a good explanation, as to why some > zealously believe that printing must be embedded in, or dedicated to, Emacs. What would be the alternative on Windows, given that an lpr-like program is not always available? > That said, yet another hack is available: there already is code to export > emacs buffers to PDF. Can we have the URL, please? > I don't know, if a command-line pdf printing program exists. If it did (or does) exist, it could be also used to print plain text.