Hello Mudassar, I agree with Ludovic : you could try weasyprint. I am using it on my project and am very satisfied.
One hint : if I remember correctly, images on html page should be png in order for pdf to be generated by default. jpg support package is optional. See documentation https://media.readthedocs.org/pdf/weasyprint/latest/weasyprint.pdf : Optional: GDK-PixBuf 2 2 Without it, PNG and SVG are the only supported image format: JPEG, GIF and others are not available. Cheers -- You received this message because you are subscribed to the Google Groups "Django users" 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 https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/4da3983a-b377-4fe4-8ca4-bf84748f9c80%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

