title: Displaying Page numbers from HTML in TCPDF
body: <p>I am writing HTML to  PDF from TCPDF using </p>
  
  <pre><code>$pdfobject-&gt;writeHTML($PrintingFile, true, false, true, false, '');
  </code></pre>
  
  <p>I want to add the Page numbers on all the Pages. </p>
  
  <p>If I use <code>$pdf-&gt;Footer($pdfobject)</code> it prints the page number only on the last page. Can you please help me how can I print the page numbers on All pages ?</p>