title: TCPDF Save file to folder?
body: <p>I'm using TCPDF to print a receipt and then send it to customer with phpMailer, but I have a problem: </p>
  
  <p><strong>I have no idea how to save the file into a pdf.</strong></p>
  
  <p>I've tried this:</p>
  
  <pre><code>// reset pointer to the last page
  $pdf-&gt;lastPage();
  
  //Close and output PDF document
  $pdf-&gt;Output('kuitti'.$ordernumber.'.pdf', 'I');
  $this-&gt;Output("kuitit");
  </code></pre>