I haven't tried Snappy yet as we almost have the original script
working (it generates the pdf's but the images in subfolders are not
shown).

@min: I will come into that same problem soon, I haven't got into it
yet but I was planning on passing the full html from the action
directly into wkhtml2pdf, like explained here:

http://www.symfonyexperts.com/question/show/id/141

Let me know if it works for you.

On Oct 23, 11:10 pm, ming <[email protected]> wrote:
> On Oct 22, 9:29 am, Florian <[email protected]> wrote:
>
> > Rectification:
>
> > $snappy = new SnappyPdf;
> > $snappy->setExecutable('/usr/bin/wkhtml2pdf'); // or whatever else
> > $snappy->save('http://google.fr', '/tmp/google.pdf');
>
> Your code work right, but how I can retrieve a page that required
> authentication?
> When I call $snappy->save, wkhtmltopdf open a new http connection with
> no cookie and credential...

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to