title: Trying to generate a pdf using Snappy (wkhtmltopdf wrapper)
body: <p>I'm trying to generate a pdf using snappy through this code:</p>
  
  <p>
  
  <pre><code>$snappy = new SnappyPdf;
  
  $snappy-&gt;setExecutable('/usr/bin/wkhtmltopdf');
  
  $snappy-&gt;save('http://www.google.com', '/tmp/jander.pdf');
  </code></pre>
  
  <p>In the apache log i find this:</p>
  
  <blockquote>
    <p>Done Loading pages (1/6) [><br>
    ] 0% [======><br>
    ] 10% [==========><br>
    ] 18% [============><br>
    ] 20% [=============><br>
    ] 22% [===============><br>
    ] 25% [================><br>
    ] 28% [==================><br>
    ] 30% [===================><br>
    ] 33% [=====================><br>
    ] 35% [======================><br>
    ] 37% [=========================><br>
    ] 43% [===========================><br>
    ] 46%
    [============================================================] 100% Counting pages (2/6)
    [============================================================] Object 1 of 1 Resolving links (4/6)
    [============================================================] Object 1 of 1 Loading headers and
    footers (5/6) Printing pages (6/6) [> 
    ] Preparing
    [============================================================] Page 1 of 1 Done</p>
  </blockquote>
  
  <p>but the pdf is not generated.</p>
  
  <p>Any idea?</p>
  
  <p>Javier </p>