title: NodeJS and PDFKit: how to make first page to be landscape?
body: <p>So, I've got a document:</p>
  
  <p><code>var doc = new PDFDocument;</code></p>
  
  <p>The docs tells me that <em>The first page of a PDFKit document is added for you automatically</em>, so there's no need to add it manualy. But how can I meke it to be landscape?</p>
  
  <p>This one</p>
  
  <pre><code>doc.addPage({
      size: 'LEGAL',
      layout: 'landscape'
  });
  </code></pre>
  
  <p>works, but adds another page.</p>