title: In tcpdf how can i know that $pdf->writeHTML will start from current or new page?
body: <p>I have html which I convert into pdf using <code>tcpdf</code> (PHP). First I use <code>$pdf-&gt;AddPage();</code> and then I use to write html in pdf i.e <code>$pdf-&gt;writeHTML()</code>. Here now suppose if I will again <code>$pdf-&gt;writeHTML</code> then how can I know that new <code>$pdf-&gt;writeHTML()</code> command will print from current page or new page? Because I have some content which I should show in current or next page as per pending space in current page. So if new <code>pdf-&gt;writeHTML()</code> will start from new page then I don't want to add manual page break in some content.</p>