title: how to write barcode in html format when using tcpdf
body: <p>I am using TCPDF to generate PDF file using following command</p>
  
  <pre><code>$pdf-&gt;writeHTML($htmlcontent, true, 0, true, 0);
  </code></pre>
  
  <p>TCPDF also provides a way to create barcode with following commands</p>
  
  <pre><code>$pdf-&gt;Cell(0, 0, 'C39+', 0, 1);
  $pdf-&gt;write1DBarcode('Code 39', 'C39+', '', '', 80, 15, 0.4, $style, 'N');
  $pdf-&gt;Ln();
  </code></pre>
  
  <p>I want to be able to write barcode as part of the HTML code above. Is there easy way?</p>
  
  <p>I can potentially call a barcode image inthe writeHTML code above, but not sure how to use above barcode function (or any in TCPDF) which would allow me to create image and then get that image into HTML generation.</p>