title: Laravel 5.6 using barryvdh/snappy to create pdf in windows
body: <p>I am trying to create a PDF in Laravel 5.6 using Barryvdh/snappy. my <code>config/snappy.php</code> looks like </p>
  
  <pre><code>'pdf' =&gt; array(
      'enabled' =&gt; true,
      'binary'  =&gt; 'C:/xampp/htdocs/pdftesting/vendor/h4cc/wkhtmltopdf-amd64/bin/wkhtmltopdf',
      'timeout' =&gt; false,
      'options' =&gt; array(),
      'env'     =&gt; array(),
  ),
  </code></pre>
  
  <p>and my controller looks like, </p>
  
  <pre><code>        $pdf = PDF::loadView('pdf',$data);
          return $pdf-&gt;download('test.pdf');
  </code></pre>
  
  <p>But i get this error,</p>
  
  <blockquote>
    <p>The exit status code '1' says something went wrong:\n
    stderr: "'C:/xampp/htdocs/pdftesting/vendor/h4cc/wkhtmltopdf-amd64/bin/wkhtmltopdf' is not recognized as an internal or external command,\r\n
    operable program or batch file.\r\n
    "\n
    stdout: ""\n
    command: C:/xampp/htdocs/pdftesting/vendor/h4cc/wkhtmltopdf-amd64/bin/wkhtmltopdf --lowquality --images --enable-javascript --javascript-delay "10" "C:\WINDOWS\TEMP\knp_snappy5ad430445b31e9.92776484.html" "C:\WINDOWS\TEMP\knp_snappy5ad430445fac87.79827170.pdf"</p>
  </blockquote>