0

I want to create a program in Java where the student information will be embedded to a specific template and generated into a PDF. The PDF may contain tables, image, and text.

I just want to know this technique? Here is a sample output below:

enter image description here

Thanks in advance!

I tried looking for the term, and I was not able to find it. I am curious about it since I saw the operator in my cashier where they used a Java program that can generate the PDF that contains the student information from a database and print it.

Vense
  • 53
  • 5
  • 1
    That is a document template. Which you said in your question. For [example `PDFTemplateBuilder`](https://pdfbox.apache.org/docs/2.0.4/javadocs/org/apache/pdfbox/pdmodel/interactive/digitalsignature/visible/PDFTemplateBuilder.html). – Elliott Frisch Feb 13 '23 at 13:11
  • 2
    In the olden days this used to be called Mail-merge? – Mr R Feb 18 '23 at 01:28

1 Answers1

1

There are a few useful library for generating PDF document in Java,

I suggest you to look at this library : Apache PdfBox

also you can check this question for creating table:

Creating table in pdf box

AnotherOne
  • 78
  • 2
  • 11