Form data into PDF documents upon submission

Dear All,
I have created a form in nextcloud and upon submission. The data collected is reverted into a CSV file. How do I extract the data into a formatted PDF document for printing ? Is there any documentation or tutorial videos ?

Thanks