English version
Accueil     Ŕ propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis ŕ jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml ŕ l'adresse ocaml.org.

Browse thread
Cross-platform "Hello, World" graphical application in OCaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-02-23 (16:24)
From: Sven Luther <sven.luther@w...>
Subject: Re: [Caml-list] Re: Cross-platform "Hello, World" graphical application in OCaml
On Wed, Feb 23, 2005 at 03:08:13PM +0100, Christophe TROESTLER wrote:
> On Wed, 23 Feb 2005, Sven Luther <sven.luther@wanadoo.fr> 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.


Sven Luther