**How to create a PDF like this by supplying the relevant parameters and generating a PDF document based on those parameters**

[![enter image description here](https://i.stack.imgur.com/0KXHj.png)](https://i.stack.imgur.com/0KXHj.png)