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: Sat, 17 Dec 2005 16:50:34 +0100 Message-ID: <43A433CA.4020008@student.lu.se> 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> <812e3835d8e20230c7c0f656c6716dda@Web.DE> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1134835363 20149 80.91.229.2 (17 Dec 2005 16:02:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 17 Dec 2005 16:02:43 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Dec 17 17:02:41 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EneVC-0001ka-HX for geh-help-gnu-emacs@m.gmane.org; Sat, 17 Dec 2005 17:01:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EneVw-0006U1-HK for geh-help-gnu-emacs@m.gmane.org; Sat, 17 Dec 2005 11:02:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EneLM-0003Tx-04 for help-gnu-emacs@gnu.org; Sat, 17 Dec 2005 10:51:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EneLI-0003Sa-2o for help-gnu-emacs@gnu.org; Sat, 17 Dec 2005 10:51:30 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EneLD-0003Rv-Tu for help-gnu-emacs@gnu.org; Sat, 17 Dec 2005 10:51:26 -0500 Original-Received: from [81.228.8.83] (helo=pne-smtpout1-sn2.hy.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EneNo-00032U-SI; Sat, 17 Dec 2005 10:54:05 -0500 Original-Received: from [192.168.123.121] (83.249.218.244) by pne-smtpout1-sn2.hy.skanova.net (7.2.069.1) id 43A2BA4D00045CC7; Sat, 17 Dec 2005 16:50:34 +0100 User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en Original-To: Eli Zaretskii In-Reply-To: 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:32020 Archived-At: Eli Zaretskii wrote: >The CVS version of Emacs has the printing.el package that is supposed >to provide these features. But it only does that for PostScript >output. It would be a good idea to extend that so that external >programs such as Ghostscript would not be required. In other words, >we need a platform-independent API to communicate with the system >printers, and then we need to use that API in printing.el. > > I suggested this in another message and agrees that this would be good, but it might be much work. One of the first thing to decide must be how that interface should look to be platform indepentent. To understand the requirements on the Windows platform a good start is probably here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/wingdistart_9ezp.asp http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/prntspol_0r1j.asp On windows you use the graphic drivers interface (GDI) for printing as you can read there. You do not use PostScript or even care about what formats the printers want. Are there something similar available on other platforms?