On Wed, 16 Sep 1998, Robert Dodier wrote:
> Hello all,
>
> This doesn't really answer the original question about printing
> graphics, but perhaps this will be of interest to people who need
> to print graphics.
>
> I came across a class called PSGr and fixed it up a little -- the
> result is attached to my homepage, http://civil.colorado.edu/~dodier.
> The source code and some info about usage is there.
>
> PSGr implements the methods of Graphics to generate PostScript output.
> So you could use an ordinary screen graphics context to display
> something, then switch to PSGr and get the same stuff written to a
> PostScript file.
>
> I think it's a pretty nifty idea -- but don't thank me, thank
> E.J. Friedman-Hill and David Binger, who are the main authors of PSGr.
> OK, you can thank me a little bit -- I did add some stuff to it. :)
This is similar to how my PDF package works.
It actually extends PrintJob & Graphics, and allows you to build Portable
Document Format files. It has extra methods that allows you to include
hyperlinks, annotations and outlines into the document.
It's still in alpha, but a partially working copy is available at
http://www.retep.org.uk/pdf/
I'm working on it this weekend, so a new release will be on the site
Monday.
Peter
--
Peter T Mount [EMAIL PROTECTED]
Main Homepage: http://www.retep.org.uk
PostgreSQL JDBC Faq: http://www.retep.org.uk/postgres
Java PDF Generator: http://www.retep.org.uk/pdf