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
[Caml-list] possible typechecker bug
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Pierre Weis <pierre.weis@i...>
Subject: Re: [Caml-list] how can I print graphics on my local printer under Linux?
> PL wrote:
> > 
> > I am doing graphics with Caml. These graphs are drawn in a new window on my
> > screen,
> > opened by Caml. I would like to have these graphs printed on my local
> > printer.

The graphps library (from the bazar-ocaml directory of the Caml
distribution) has been written exactly for that purpose: it generates
PostScript files from Caml graphics drawings. See the web site of the
software at:

If you cannot have access to a PostScript printer you may coerce the
resulting file to a suitable image format using GhostScript or
ImageMagick or any other image processing program.

Hope this helps,

Pierre Weis

INRIA, Projet Cristal,,

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: