Forum Stats

  • 3,759,521 Users
  • 2,251,560 Discussions
  • 7,870,690 Comments

Discussions

Generate HTML for PDF printing

User_E2773
User_E2773 Member Posts: 1 Green Ribbon

Hi,

First, thank you for your interest in my question. My issue is regarding printing a PDF document from my web application (JEE). Let me explain :

On my web application you can create one register, in this register you have many informations : company, staff, applications used .... I'ld the visitor to select one register and press one button to print one pdf document with all informations inside.

I started to work with openhtmltopdf and jsoup. It works fine when you are working with an existing html document in my folders but I want to work dynamicaly with a template and variables.

How can I just select one register (bean), fill my template with my register's information save this temporary file and generate one pdf document ?

Have you any links, tuto, suggestions ?

Thanks in advance for your support.

Guillaume

Tagged: