C++/Java Postscript Libraries?
myrkul asks: "I'm working on an application that takes vector graphics, text, and bitmapped pictures as well as layout info from a database, and converts it to postscript (PDF would work too) for printing. I've been looking for (preferably free) Postscript libraries for either C++ or Java which would allow me to lay out these elements, and haven't had much luck. Any suggestions?"
I could be remiss on this, but didn't NeXT cubes render to the display via Postscript commands? If this is so, then perhaps some component of GNUStep might help? Perhaps someone more deeply involved in OpenStep/GNUStep can comment.
Does it have to be PostScript first, or can you just print to the printer? If it doesn't have to be PostScript, Java 1.2 makes it pretty easy to print. Sun's tutorial diplays some graphics to the screen, then prints it.
--== [N] ==--
... will allow you to generate PDFs from
.iMMersE
ActiveX/COM for use with Visual Basic, Active Server Pages, Delphi etc.
ANSI C
Class wrapper for ANSI C++
Java (via Java Native Interface, JNI), including servlets
Perl
Python
Tcl
There is also a pdflib extension to PHP.
You can find it here
I hope this helps.
codegolf.com - smaller *is* better.
For Java you can use retepPDF
For C++ you can use ClipPDF.
retepPDF is GPL, ClipPDF has its own license.
Scuttlemonkey is a troll