title: Clean HTML page to pdf
body: <p>I have a clean HTML page. I need to print (download) it as a pdf file. I have searched in internet. But everyone gives some plugins and libraries. Can I do that without those? I mean how to download as pdf using php code. I am using codeigniter</p>
  
  <pre><code>&lt;table&gt;&lt;tr&gt;
  &lt;td&gt;Name&lt;/td&gt;
  &lt;td&gt;&lt;?php echo $name;?&gt;&lt;/td&gt;
  &lt;/tr&gt;&lt;/table&gt;
  </code></pre>
  
  <p>This is how my code looks. $name value will be dynamic</p>