Slashdot Mirror


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?"

4 of 11 comments (clear)

  1. NeXT by dnxthx · · Score: 2

    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.

  2. Java can send directly to printer by N-Wing · · Score: 2

    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] ==--

  3. pdflib ... by iMMersE · · Score: 4

    ... will allow you to generate PDFs from

    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.

    .iMMersE

    --
    codegolf.com - smaller *is* better.
  4. Options by FigWig · · Score: 3

    For Java you can use retepPDF

    For C++ you can use ClipPDF.

    retepPDF is GPL, ClipPDF has its own license.

    --
    Scuttlemonkey is a troll