title: Printing the current page to pdf using wkhtmltopdf
body: <p>Recently installed wkhtmltopdf. Was trying to capture the entire page in its current state, however, the below method seems to navigate to the initial state of that page without all the input fields that the user has entered.</p>
  
  <p>PHP</p>
  
  <pre><code>shell_exec('wkhtmltopdf http://localhost/www/bolt/invoice.php invoice.pdf');
  </code></pre>
  
  <p>I was wondering if someone knew of an implementation of <code>wkhtmltopdf</code> that captures the current state of the page including any text entered in the text fields??</p>
  
  <p>I appreciate any suggestions.</p>
  
  <p>Many thanks in advance!</p>