tags:

views:

41

answers:

3

Example provided would be helpful.

+1  A: 

While this will probably get migrated, your best bet would be implementing something like Zend_Pdf.

Josh K
+2  A: 

use iText. its a great library. you have to hack a lot together if your pdf grows, but overall very handy

http://itextpdf.com/

basic document creation:

Document document = new Document();
try {
    PdfWriter.getInstance(document,
    new FileOutputStream("HelloWorld.pdf"));
    document.open();
    document.add(
    new Paragraph("Hello World"));
    } catch (Exception e) {
        // handle exception
    }
}
document.close();
David
A: 

Or, if you are using PHP, http://stackoverflow.com/questions/560583/which-is-the-best-pdf-library-for-php lists some nice options!

susmits