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 22:25:13 +0100 Message-ID: <43A48239.3020809@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> 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 1134854859 17456 80.91.229.2 (17 Dec 2005 21:27:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 17 Dec 2005 21:27:39 +0000 (UTC) Cc: Emacs help Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Dec 17 22:27:31 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EnjYX-0007vZ-9Q for geh-help-gnu-emacs@m.gmane.org; Sat, 17 Dec 2005 22:25:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EnjZI-0004lR-7h for geh-help-gnu-emacs@m.gmane.org; Sat, 17 Dec 2005 16:26:16 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EnjZ6-0004lG-FN for help-gnu-emacs@gnu.org; Sat, 17 Dec 2005 16:26:04 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EnjZ4-0004l4-QB for help-gnu-emacs@gnu.org; Sat, 17 Dec 2005 16:26:04 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EnjZ4-0004l1-MP for help-gnu-emacs@gnu.org; Sat, 17 Dec 2005 16:26:02 -0500 Original-Received: from [81.228.11.159] (helo=pne-smtpout2-sn1.fre.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Enjbj-00046T-Fj for help-gnu-emacs@gnu.org; Sat, 17 Dec 2005 16:28:47 -0500 Original-Received: from [192.168.123.121] (83.249.218.244) by pne-smtpout2-sn1.fre.skanova.net (7.2.069.1) id 43A1777B000A3D5C; Sat, 17 Dec 2005 22:25:13 +0100 User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en Original-To: Peter Dyballa 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:32026 Archived-At: Peter Dyballa wrote: >> Are there something similar available on other platforms? > > > Of course! We have some more decades experience. > > Usually there is no GUI. If there is one, it comes from the windowing > system, for example X11. This one is very basic, so that desktop > environments like OpenWindows, CDE, KDE, Gnome, (Classic) Mac OS, or, > Aqua on Mac OS X bring something better. > > Below all this all UNIX dialects have a print spool mechanism that is > now in its 30s. A printer can be attached to parallel, serial, or USB > ports or exist somewhere in Internet, or Intranet, attached to the net > or attached to a print host. When you create the print queue for this > printer you have to give these details to the operating system. OS > routines then determine what kind of input arrived, and what kind of > input the printer accepts. If a difference is found, the printer > queue's input (output of some programme) is converted according the > printer's needs. These days this mechanism is based on CUPS, the > Common UNIX Printing System (http://localhost:631/). To access > printers on the net it uses a slimmed down HTTP connection (so it's > open for cryptography or authenticated connections to the splendid > printer at your dean's desk). > > These ideas are so simple, that some couldn't resist to copy ... Thanks! I glanced trhough the pages. It looks to me that the printing interface in CUPS is different from that normally used by GUI applications in Windows. AFAIU in Windows the operating system through the GDI (graphic device interface) using the printer driver takes care of creating the code to be sent to the printer. This does not seem to be the case in CUPS. Is not each application there responsible for creating printing code? Do I understand it correctly that this the application creates some kind of intermediary code that can then be translated through "filters" which the printer drivers provide. Does not this mean that the printing interface as such must have quite different implementations in Windows contra system that uses CUPS? Please note that I am not an expert on printing at all. I am just trying to understand.