From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id B39CABC75 for ; Wed, 23 Feb 2005 17:24:53 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j1NGOrxv003298 for ; Wed, 23 Feb 2005 17:24:53 +0100 Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id RAA04503 for ; Wed, 23 Feb 2005 17:24:52 +0100 (MET) Received: from smtp12.wanadoo.fr (smtp12.wanadoo.fr [193.252.22.20]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j1NGOqJj013940 for ; Wed, 23 Feb 2005 17:24:52 +0100 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf1203.wanadoo.fr (SMTP Server) with ESMTP id 7E0DF1C000B4; Wed, 23 Feb 2005 17:24:52 +0100 (CET) Received: from pegasos (AStrasbourg-251-1-63-140.w82-126.abo.wanadoo.fr [82.126.131.140]) by mwinf1203.wanadoo.fr (SMTP Server) with ESMTP id 5B4251C000AF; Wed, 23 Feb 2005 17:24:52 +0100 (CET) X-ME-UUID: 20050223162452374.5B4251C000AF@mwinf1203.wanadoo.fr Received: from luther by pegasos with local (Exim 4.44) id 1D3zB9-0002Bd-KP; Wed, 23 Feb 2005 17:15:59 +0100 Date: Wed, 23 Feb 2005 17:15:59 +0100 To: Christophe TROESTLER Cc: sven.luther@wanadoo.fr, caml-list@inria.fr Subject: Re: [Caml-list] Re: Cross-platform "Hello, World" graphical application in OCaml Message-ID: <20050223161559.GA5300@pegasos> References: <20050222140333.GA4603@furbychan.cocan.org> <20050222.184646.71942873.Christophe.Troestler@umh.ac.be> <20050223081544.GA10506@pegasos> <20050223.150813.109385062.Christophe.Troestler@umh.ac.be> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20050223.150813.109385062.Christophe.Troestler@umh.ac.be> User-Agent: Mutt/1.5.6+20040907i From: Sven Luther X-Miltered: at concorde with ID 421CAE55.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 421CAE54.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 ocaml:01 sven:01 luther:01 sven:01 luther:01 christophe:01 troestler:01 wrote:01 wrote:01 christophe:01 troestler:01 ocaml:01 lpd:98 lpd:98 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.2 X-Spam-Level: On Wed, Feb 23, 2005 at 03:08:13PM +0100, Christophe TROESTLER wrote: > On Wed, 23 Feb 2005, Sven Luther wrote: > > > > On Tue, Feb 22, 2005 at 06:46:46PM +0100, Christophe TROESTLER wrote: > > > (with the help of a LPD daemon written in OCaml! :). > > > > Mmm, would it be possible to use only said LPD daemon, to print > > plain text to the printer under windows ? For log-like applications > > which don't really need advanced printing capabilities ? > > The deamon does not care about printing per-se, just to handle the > interactions with LPD on the client machine. In other words, if you > know what to do to print a text file, the daemon will be happy to feed > your command with files sent through the LPD protocol. Mmm, i don't quite follow that. the lpd sits between the program output and the system queues or something like that ? You use gsprint to generate the printable files from .ps ones, and send it to the lpd queue, which sends it to the disk, or the other way around, you send the .ps to the lpd, which sends it to the gsprint and then to the disk. > To be really useful, I think the deamon should be turned into a > library. If enough people are interested, I can open a mailing list > for discussions. Yes, i guess that would be interesting. Friendly, Sven Luther