Hi,

try your wkhtml2pdf from the command line first.

Didn't used the lib before, so i'm not sure.

but as i read the code, it seems to come from an error of the command line.


Le 20/10/2010 14:03, fxsymfony a écrit :
Hi Florian,

Im using Symfony 1.4.

Still having been able to get it to work, I'm using this php
script:      http://code.google.com/p/wkhtmltopdf/wiki/IntegrationWithPhp

and I get the following error:

Fatal error: Uncaught exception 'Exception' with message 'WKPDF shell
error, return code 2.' in /home/mypath/test_pdf.php:207 Stack trace:
#0 /home/mypath/test_pdf.php(273): WKPDF->render() #1 {main} thrown
in /home/mypath/test_pdf.php on line 207

On Oct 19, 6:25 pm, Florian<sideral.undergro...@gmail.com>  wrote:
Hi,

If you're talking of Symfony2, there is a bundle for that 
:http://symfony2bundles.org/knplabs/SnappyBundle

It uses the Snappy php5 lib, which is a wrapper for 
wkhtml2pdf.http://github.com/knplabs/snappy

On 19 oct, 09:03, fxsymfony<fari...@gmail.com>  wrote:

Has anyone used WkHtmlToPdf in Symfony? I have it set up on my server
(in works on command line) but don't know how to use in Symfony to
generate pdf files.

--
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 symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to