> On 25 Jan 2015, at 14:40, Adam Morris <adam.mor...@igbis.edu.my> 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 pylons-discuss+unsubscr...@googlegroups.com.
To post to this group, send email to pylons-discuss@googlegroups.com.
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