Fyi  I've had good experiences using phantomjs

Sent from a phone, please excuse the brevity.

> On 25.01.2015, at 18:17, Wichert Akkerman <[email protected]> wrote:
> 
> 
>> On 25 Jan 2015, at 14:40, Adam Morris <[email protected]> wrote:
>> 
>> Okay, I get that bit now, and coded it up, but when I go to render it, I use 
>> the pyramid.renderers.render object but obviously it ends up downloading a 
>> corrupted file because it's not even in PDF format. 
> 
> You are still rendering a .pt file, so I’m guessing you are generating HTML, 
> not PDF. If you want to generate PDF you will need to use a PDF library.
> 
>> So does reportlab have something to take that html/css and paint it to a 
>> Canvas or something?
> 
> I use z3c.rml, which uses RML as input to generate PDF. If you want to use 
> HTML & CSS you’ll need to find a library that can convert HTML to PDF.
> 
> Wichert.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "pylons-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/pylons-discuss.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/d/optout.

Reply via email to