I need to generate pdf reports that have multiple pages. I started by drawing data directly to page but when points exceeded first page a second page was not rendered correctly (data from second page was rendered in the first page header). Please kindly check bellow:
Sample from my code to generate pdf report using db data...
First page renders correctly:
I attached controller code and pdf generated. Please help me to achive multiple page pdf generation.