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, 17 Dec 2005 10:20:17 +0200 Message-ID: References: <1134660719.186074.250590@z14g2000cwz.googlegroups.com> <43A1B787.9040001@student.lu.se> <43A27ACF.1040705@student.lu.se> <43A2D4E8.7090306@student.lu.se> <43A37B01.6080603@student.lu.se> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1134808716 9865 80.91.229.2 (17 Dec 2005 08:38:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 17 Dec 2005 08:38:36 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Dec 17 09:38:34 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EnXZS-000425-IO for geh-help-gnu-emacs@m.gmane.org; Sat, 17 Dec 2005 09:37:38 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EnXaB-0003fY-6l for geh-help-gnu-emacs@m.gmane.org; Sat, 17 Dec 2005 03:38:23 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EnXJY-0006ZS-Ap for help-gnu-emacs@gnu.org; Sat, 17 Dec 2005 03:21:12 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EnXJV-0006YW-3Z for help-gnu-emacs@gnu.org; Sat, 17 Dec 2005 03:21:11 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EnXJT-0006YK-W0 for help-gnu-emacs@gnu.org; Sat, 17 Dec 2005 03:21:08 -0500 Original-Received: from [192.114.186.17] (helo=gandalf.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EnXM2-0007pF-LG for help-gnu-emacs@gnu.org; Sat, 17 Dec 2005 03:23:46 -0500 Original-Received: from nitzan.inter.net.il (nitzan.inter.net.il [192.114.186.20]) by gandalf.inter.net.il (MOS 3.7.1-GA) with ESMTP id HHD11997; Sat, 17 Dec 2005 10:20:15 +0200 (IST) Original-Received: from HOME-C4E4A596F7 (IGLD-83-130-244-128.inter.net.il [83.130.244.128]) by nitzan.inter.net.il (MOS 3.7.2-GA) with ESMTP id CFW01300 (AUTH halo1); Sat, 17 Dec 2005 10:20:14 +0200 (IST) Original-To: help-gnu-emacs@gnu.org In-reply-to: <43A37B01.6080603@student.lu.se> (message from Lennart Borgman on Sat, 17 Dec 2005 03:42:09 +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:32012 Archived-At: > Date: Sat, 17 Dec 2005 03:42:09 +0100 > From: Lennart Borgman > CC: help-gnu-emacs@gnu.org > > >Emacs needs either a port name or a printer name, and it treats those > >as if they were files. These two possibilities cover most of the > >Windows printer configurations I've seen. The question is, what is > >your configuration, and why these two possibilities don't work for it. > > > You might be right. Maybe it can work. I do not remember all the tests I > did any more why they failed and I leave it to someone else who think > this is worth trying. It cannot be checked on anyone's machines but yours. If you don't think it's worth another try, it will never be investigated. > However if you want to do it the way you suggest don't you have to know > the specifics of the printer then? You only need to know its name or the port which it captures. The Emacs manual explains how to find that out. > In the environment where I am using a > printer there are a lot of different printers so I really want to avoid > doing anything that is printer specific. I want to use the printing > interface that Windows supply. That interface handles all the printer > specific details if you call it the right way. > > Have I missed something in the sources? Does Emacs use this interface? AFAIR, you brought this up on the developers' list some time ago. In response, you were offered to write code to access the current default printer on all supported systems, so that Emacs could use that interface in a platform-independent fashion. IIRC, that was the last I've heard about this idea, which IMHO is too bad. > If it does then I am simply wrong. If it does not then I prefer to use > the system independent interface that Emacs supplies in > browse-url-of-file which I use in htmlize-view.el. This interface is for browsing a URL, not for printing. What we want, I think, is a way to print on the default printer that doesn't require the user to press any more buttons or choose menu items on the Web browser. Anyway, let's drop this issue. It's quite clear that you are so happy with your solution that you don't want to hear anything unfavorable about it. Who am I to try preaching to you?