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 6D8EEBC75 for ; Thu, 24 Feb 2005 17:21:48 +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 j1OGLc9k013147 for ; Thu, 24 Feb 2005 17:21:48 +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 RAA13832 for ; Thu, 24 Feb 2005 17:21:37 +0100 (MET) Received: from hedwig1.umh.ac.be (hedwig2.umh.ac.be [193.190.193.73]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j1OGLbYr010377 for ; Thu, 24 Feb 2005 17:21:37 +0100 Received: from poincare (mathwifi.swapping.umh.ac.be [10.102.100.18]) by hedwig1.umh.ac.be (8.13.1/8.13.1) with ESMTP id j1OGPGKr1269914; Thu, 24 Feb 2005 17:25:16 +0100 Received: from poincare ([127.0.0.1] helo=localhost ident=trch) by poincare with esmtp (Exim 3.36 #1 (Debian)) id 1D4LjW-00024i-00; Thu, 24 Feb 2005 17:20:58 +0100 Date: Thu, 24 Feb 2005 17:20:22 +0100 (CET) Message-Id: <20050224.172022.115331326.Christophe.Troestler@umh.ac.be> To: sven.luther@wanadoo.fr Cc: caml-list@inria.fr Subject: Re: [Caml-list] Re: Cross-platform "Hello, World" graphical application in OCaml From: Christophe TROESTLER In-Reply-To: <20050223161559.GA5300@pegasos> References: <20050223081544.GA10506@pegasos> <20050223.150813.109385062.Christophe.Troestler@umh.ac.be> <20050223161559.GA5300@pegasos> Organization: Universite de Mons-Hainaut (http://math.umh.ac.be/an/) X-Spook: e-cash emc Verisign top secret Waco, Texas csystems terrorism interception UNSCOM wire transfer X-Blessing: Om Ah Hum Vajra Guru Pema Siddhi Hum X-Operating-System: GNU/Linux (http://www.linux.org/) X-Mailer-URL: http://www.mew.org/ X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.1 (www dot roaringpenguin dot com slash mimedefang) X-Miltered: at nez-perce with ID 421DFF11.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 ocaml:01 christophe:01 troestler:01 christophe:01 troestler:01 umh:01 sven:01 luther:01 sven:01 luther:01 wrote:01 ocaml:01 sourceforge:01 cheers:01 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, 23 Feb 2005, Sven Luther wrote: > > 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. It goes like this: network Unix client --------> LPD on (e.g.) windows (lpr file) OCaml daemon gets the file | `--> once the file is received, it can be sent to a command of your choice (currently gsprint but is can be anything) Did I make myself more clear? > > 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. Go to http://lists.sourceforge.net/lists/listinfo/ocaml-lpd-devel Cheers, ChriS