title: FPDF - File type plain text document (text/plain) is not supported
body: <p><strong>Controller:</strong></p>
  
  <pre><code>public function mensualAction() {
          header('Content-Type: application/pdf');
          header('Content-Disposition: attachment; filename="tokens.pdf"');
  
          require('fpdf/fpdf.php');
  
          $pdf = new FPDF();
          $pdf-&gt;AddPage();
          $pdf-&gt;SetFont('Arial', 'B', 16);
          $pdf-&gt;Cell(40, 10, 'Hola Mundo!');
          $pdf-&gt;Output();
      }
  </code></pre>
  
  <p>Not see the File PDF</p>
  
  <p><a href="https://i.stack.imgur.com/dTiXl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dTiXl.png" alt=""></a></p>
  
  <p>What I want is to write text in a PDF</p>
  
  <p>Docu Oficial site FPDF</p>
  
  <p><a href="https://i.stack.imgur.com/oGRP9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/oGRP9.png" alt=""></a></p>