title: WKHTMLTOPDF Generating only first page as PDF
body: <p>I'm working on a project that require generating a PDF file from HTML content.
  I'm using <strong>wkhtmltopdf</strong> which I believe is the best solution I've came accross so far.</p>
  
  <p>I was wondering if there was a way of generating only a one page PDF.</p>
  
  <p>I have a HTML rendered interface and I want the user to get the same result (let's say 90% similar) on the resulting PDF file.</p>
  
  <p>In the following example the content is still on the first page but wkhtmltopdf generates a second one that contains nothing : </p>
  
  <p><img src="https://i.stack.imgur.com/12EnZ.png" alt="enter image description here"></p>
  
  <p>I would like to get a one page PDF no matter the content of the page. I'm using the version 0.12 of wkhtmltopdf and I could not find in the documentation any option that allow to enter the desired number of pages.</p>
  
  <p>I don't know if some of you already encountered such issue and if the solution would be an option flag that I don't know ? Or maybe there is another way ?</p>