in reply to How can I generate a pdf from html/css?
Think of the output format as the "view" part of the MVC pattern (where the page content is your data). You need one view to generate HTML (for the web page version) and another view to generate PDF (for high-quality hard-copies).
If you already have the data, and the data->html view, all you need is the data->pdf view, which is most likely much easier to write than html->pdf.
|
---|