Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: -- (:)
From: Christophe TROESTLER <Christophe.Troestler@u...>
Subject: Re: [Caml-list] Re: Cross-platform "Hello, World" graphical application in OCaml
On Tue, 22 Feb 2005, Richard Jones <> wrote:
> Printing is another area where things are complicated.  Under Unix
> it's relatively straightforward: generate a PS or PPM file and pipe it
> into 'lpr'.  On Windows things are much more complex.  For the app I
> wrote in 2003, I managed a primitive form of graphic-only printing by
> hacking out a standalone printing program from the guts of the GIMP
> Windows printer driver (written in C, not OCaml).  I can let anyone
> have this if they're interested.

There is gsprint.exe (
which makes it easy to print PS files on a window box.  It is a bit
heavy -- you need Ghostscript -- but it works well.  I have been using
it for several months to print to a win$ only color laser printer
(with the help of a LPD daemon written in OCaml! :).

Hope it helps,