If you looking for generating a PDF then you can look at Document template option.
https://docs.mendix.com/refguide/document-templates
I believe there are also training videos available in academy learning path.
If this does not answer your question, then explain your question in detail.