From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 71CD8BCA7 for ; Wed, 23 Feb 2005 15:10:26 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j1NEAPQ4027180 for ; Wed, 23 Feb 2005 15:10:26 +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 PAA31368 for ; Wed, 23 Feb 2005 15:10:25 +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 j1NEAPsA027177 for ; Wed, 23 Feb 2005 15:10:25 +0100 Received: from poincare (wigner.swapping.umh.ac.be [10.102.100.18] (may be forged)) by hedwig1.umh.ac.be (8.13.1/8.13.1) with ESMTP id j1NEE3MU823320; Wed, 23 Feb 2005 15:14:04 +0100 Received: from poincare ([127.0.0.1] helo=localhost ident=trch) by poincare with esmtp (Exim 3.36 #1 (Debian)) id 1D3xCO-0003G5-00; Wed, 23 Feb 2005 15:09:08 +0100 Date: Wed, 23 Feb 2005 15:08:13 +0100 (CET) Message-Id: <20050223.150813.109385062.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: <20050223081544.GA10506@pegasos> References: <20050222140333.GA4603@furbychan.cocan.org> <20050222.184646.71942873.Christophe.Troestler@umh.ac.be> <20050223081544.GA10506@pegasos> Organization: Universite de Mons-Hainaut (http://math.umh.ac.be/an/) X-Spook: diwn class struggle UFO 2600 Magazine Area 51 chameleon man ammunition bank Consul Kennedy 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 421C8ED1.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 421C8ED1.000 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 wrote:01 ocaml:01 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, 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. 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. Regards, ChriS