title: How do I return a PDF document from TCPDF as a string?
body: <p>The <a href="https://tcpdf.org/docs/srcdoc/tcpdf/class-TCPDF/#_Output" rel="nofollow noreferrer">TCPDF documentation</a> is very useful:</p>
  <blockquote>
  <p><code>Output( $name = 'doc.pdf', $dest = 'I' )</code></p>
  <p>Send the document to a given destination: string, local file or browser. In the last case, the plug-in may be used (if present) or a download (&quot;Save as&quot; dialog box) may be forced.</p>
  <p>The method first calls Close() if necessary to terminate the document.</p>
  </blockquote>
  <p>... very useful indeed. It tells me that what I want is possible, but doesn’t begin to tell me <em>how</em>. Is there any documentation on the various options for <code>$dest</code>, what they are and what they do?</p>