Display a list of all Google Drive files on Google site
<p>I am trying to display this as a web app. It only returns 1 file on the site. The logs show 50+ files. Why doesn't htmloutput show all the files like the logs do. Any help would be awesome.</p>

<pre><code>function doGet(e) {
  var query = 'fullText contains "Printers"' ;
  var folders, pageToken;
  do {
    folders = Drive.Files.list({
      q: query,
      maxResults: 100,
      pageToken: pageToken
    });

    if (folders.items &amp;&amp; folders.items.length &gt; 0) {
      for (var i = 0; i &lt; folders.items.length; i++) {
        var folder = folders.items[i];

        Logger.log('%s (ID: %s)', folder.title, folder.id);
      }
    } else {
    }
    var Output3 = folder.id; 
    var output = HtmlService.createHtmlOutput(Output3);
    pageToken = folders.nextPageToken;
  } while (pageToken);

  return output
}
</code></pre>