TCPDF and forcing a new page

I have a set of code which produces a pdf successfully. It spreads over about 3 pages. Near the end there is a Schedule and I want this to start on a new page.

What code do I have to put in to force this to start on a new A4 page?

Many thanks.

$tcpdf->AddPage() should do the trick.

Hi pals , My required thing is add a 3rd page after second . When I add new page it come as 2nd page . please advise.

Thanks,
Anes :rofl:

Hi friends,
I found a method for same , as shown below:
$this->AddPage();
$this->setPage(2);
$this->writeHTMLCell(100, ‘11’, ‘’, ‘’, $insurance, 1, 1, 1, true, ‘J’, true);

It works gr8 .
Thanks ,
Anes