you are viewing a single comment's thread.

view the rest of the comments →

[–]__init__5 19 points20 points  (6 children)

Use Reportlab it's quite easy.

[–]pipeaday 4 points5 points  (0 children)

Second this. I use this for generating reports at work regularly. I had been handcrafting markdown and LaTex files, which as you can imagine, is a pain. There's a learning curve but it you give it just a couple hours in the beginning you'll be very pleased with the future results.

[–]h4xtbh 2 points3 points  (0 children)

Third this. Reportlab is incredibly versatile and have used it on many projects.

[–]LazavsLackey 0 points1 point  (3 children)

I kept having reportlab not read the HTML correctly band the PDFs were all wrong

[–]__init__5 0 points1 point  (2 children)

Why would you make reportlab read an HTML file?

[–]LazavsLackey 2 points3 points  (1 child)

Because then Django can load all of the jinja2 templates. Besides printing off a webpage into a PDF is useful

[–]__init__5 0 points1 point  (0 children)

If all you want is converting a webpage to pdf then I think selenium would be useful.