From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id XAA08601; Tue, 23 Sep 2003 23:48:02 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id XAA03480 for ; Tue, 23 Sep 2003 23:48:01 +0200 (MET DST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h8NLm1H00799; Tue, 23 Sep 2003 23:48:01 +0200 (MET DST) Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id XAA05318; Tue, 23 Sep 2003 23:48:00 +0200 (MET DST) From: Pierre Weis Message-Id: <200309232148.XAA05318@pauillac.inria.fr> Subject: Re: [Caml-list] how can I print graphics on my local printer under Linux? In-Reply-To: <3F6EB4ED.9090107@inria.fr> from Basile Starynkevitch at "Sep 22, 103 10:38:05 am" To: basile.starynkevitch@inria.fr (Basile Starynkevitch) Date: Tue, 23 Sep 2003 23:48:00 +0200 (MET DST) Cc: Pierre.Laffitte@wanadoo.fr, caml-list@inria.fr X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Loop: caml-list@inria.fr X-Spam: no; 0.00; pierre:01 weis:01 pierre:01 weis:01 caml-list:01 graphps:01 bazar-ocaml:01 graphps:01 cristal:01 caml:01 caml:01 coerce:01 wrote:03 library:03 distribution:07 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > 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: http://pauillac.inria.fr/graphps/ 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, Pierre.Weis@inria.fr, http://pauillac.inria.fr/~weis/ ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners