Convert HTML to PDF - Using Apache FOP: http://www.javaworld.com/javaworld/jw-04-2006/jw-0410-html_p.html Or using native library: http://www.allcolor.org/YaHPConverter/ Generate barcode - http://examples.javacodegeeks.com/core-java/itext-barcode-example