Answer the question
In order to leave comments, you need to log in
How to convert html to pdf with styles preserved?
Hello.
Task:
A person on a special page selects the desired Wishlist, knocks out custom information, presses the "generate in pdf" button. The server receives this request, processes it and generates a pdf page.
I just did this:
Pages with a form -> processing through model methods -> rendering html -> send an html page object to a third-party service -> Get PDF I
use the service: pdfcrowd.com and its API, as a result, I generate a page without my css styles.
How can one output a pdf file from django so that everything is nice?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question