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: Wed, 21 Dec 2005 19:15:44 +0100 Message-ID: <43A99BD0.7060004@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> <43A433CA.4020008@student.lu.se> <43A48239.3020809@student.lu.se> <9e36f6ab209c32ce682f75b3a86ccab0@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 1135192399 25345 80.91.229.2 (21 Dec 2005 19:13:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 21 Dec 2005 19:13:19 +0000 (UTC) Cc: Emacs help Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 21 20:13:09 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Ep9La-0001yO-R1 for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Dec 2005 20:09:59 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ep9MX-00034J-95 for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Dec 2005 14:10:57 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ep8WB-0000JY-Sb for help-gnu-emacs@gnu.org; Wed, 21 Dec 2005 13:16:52 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ep8WB-0000JE-9M for help-gnu-emacs@gnu.org; Wed, 21 Dec 2005 13:16:51 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ep8WB-0000JA-4X for help-gnu-emacs@gnu.org; Wed, 21 Dec 2005 13:16:51 -0500 Original-Received: from [81.228.8.164] (helo=pne-smtpout2-sn2.hy.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Ep8ZV-0004fg-UT for help-gnu-emacs@gnu.org; Wed, 21 Dec 2005 13:20:18 -0500 Original-Received: from [192.168.123.121] (83.249.218.244) by pne-smtpout2-sn2.hy.skanova.net (7.2.069.1) id 43A92C170002BB1C; Wed, 21 Dec 2005 19:15:49 +0100 User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en Original-To: Peter Dyballa In-Reply-To: <9e36f6ab209c32ce682f75b3a86ccab0@Web.DE> 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:32141 Archived-At: Peter Dyballa wrote: > > Am 17.12.2005 um 22:25 schrieb Lennart Borgman: > >> It looks to me that the printing interface in CUPS is different from >> that normally used by GUI applications in Windows. >> > > Please beware, Lennart! CUPS is the mechanism that takes takes items > from the printer queue(s) and transfers them to the right printer. > > The print dialog is separated from this. It's almost nothing (lpr > -Pprinter_queue_name file), or it's an application from OpenWindows, > CDE, KDE, Gnome, or Aqua on Mac OS X. Usually UNIX programmes use the > programmatic interface to put something into the spool area, i.e. the > printer queue. Usually the programme should not need to take care what > kind of file type this data is. CUPS will recognise this and use means > to convert the data into a form compatible to the printer's needs -- > or it fails and raises a message, or the printer fails and CUPS raises > that message. Thanks, I am glad to learning more here. The basic difference I can see that affects Emacs is the input format to the printing interfaces. On MS Windows the printing interface wants input in the form of EMF to the printer drivers. (You can bypass this, but then you have to know more about the printer and that is not desireable for a general solution IMO.) On those system that uses CUPS other formats are acceptable. (In fact I wonder if CUPS can handle EMF.) The filter handling takes care of this. The current architechture for printing in Emacs looks like it is well suited for CUPS but not that well for EMF. Does the above look correct to you, Peter?