From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: Printing from WindowXP version of emacs Date: Sun, 18 Dec 2005 00:55:56 +0100 Message-ID: <9e36f6ab209c32ce682f75b3a86ccab0@Web.DE> 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> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1134863827 8988 80.91.229.2 (17 Dec 2005 23:57:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 17 Dec 2005 23:57:07 +0000 (UTC) Cc: Emacs help Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Dec 18 00:57:03 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EnluW-0007Vo-H0 for geh-help-gnu-emacs@m.gmane.org; Sun, 18 Dec 2005 00:56:20 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EnlvI-0003uE-1m for geh-help-gnu-emacs@m.gmane.org; Sat, 17 Dec 2005 18:57:08 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Enlv0-0003rh-TR for help-gnu-emacs@gnu.org; Sat, 17 Dec 2005 18:56:51 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Enluz-0003pA-9u for help-gnu-emacs@gnu.org; Sat, 17 Dec 2005 18:56:50 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Enluz-0003p3-6s for help-gnu-emacs@gnu.org; Sat, 17 Dec 2005 18:56:49 -0500 Original-Received: from [217.72.192.224] (helo=smtp06.web.de) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1Enlxe-0002RX-V4 for help-gnu-emacs@gnu.org; Sat, 17 Dec 2005 18:59:35 -0500 Original-Received: from [84.245.177.217] (helo=[192.168.1.2]) by smtp06.web.de with asmtp (TLSv1:RC4-SHA:128) (WEB.DE 4.105 #340) id 1EnluB-0003nL-00; Sun, 18 Dec 2005 00:55:59 +0100 In-Reply-To: <43A48239.3020809@student.lu.se> X-Image-Url: http://homepage.mac.com/sparifankal/.cv/thumbs/me.thumbnail Original-To: Lennart Borgman X-Mailer: Apple Mail (2.623) X-Sender: Peter_Dyballa@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:32030 Archived-At: 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. CUPS can be compared to GDI. CUPS is almost independent from what a printer manufacturer delivers, because it uses ISO standards (PostScript, PDF -- text is wrapped into PS code, graphics too). It needs a PPD file. It tells all about the printer -- accept how much RAM it actually has, or which fonts are in the extension cartridge. These values can be asked from the printer in PostScript. Or a manufacturer delivers a module for the printer GUI that allows the user to access the printer and configure things (have you seen HP Web JetAdmin? This one is only SNMP based). Since CUPS delivers standards to the printers, the programmes usually spool standard data too. Filters are needed sometimes, to convert text to PS, or to wrap a graphics format into an envelope that allows the printer to print it. Ghostscript and GIMP-Print are used to convert text or graphics into ESC/P or such proprietary formats. In Linux you have some projects that write code for these, LPRng for example, or Gnome Print. (CUPS is something like TCP/IP in Internet. Above this level you have useful "applications" like FTP or HTTP, or print dialogs.) The problem is that M$ is always making things badder then they find them somewhere else. And once you've discovered a way to use Losedows means, next release changes this. It becomes documented at the n+1st release. Approximately ... Now, honestly, in UNIX (*BSD, Linux, Solaris, ...) there are no proper print job GUIs. They are in the windowing systems used. And so they're probably different every time ... But since GNU Emacs supports different outfits and file systems and codings and scripts it should be able to support different access to different print job GUIs. I am no expert too, I think, I just had often to install and to fix many things. -- Greetings Pete Got Mole problems? Call Avogadro 6.02 x 10^23