"Generating PDFs for Fun and Profit with Flying Saucer and iText" - генерация PDF файлов в программах на Java.