I recently came across a requirement wherein I had to generate statements of account in PDF format. In this article, you will be able to learn one way in which you can do the same using two amazing technologies namely: AEM and Angular.
So what are we waiting for! Let’s get started.
What are the options available? 🤔
There are two major APIs that assist in creating PDF from Angular:
1.jsPDF by MrRio.
2.jsPDF-AutoTable by simonbengtsson
I will walk you through the second one since I had to create PDFs from html tables with header and footer and jsPDF-autoTable provides quite a convenient way to achieve the same. I hope you will explore the other one on your own.