Re: HTML to PDF with formatting options



Andrew Thompson wrote:
param wrote:
...
I am converting a HTML file to PDF.

Why? PDF's are generally only good for printing, and..

..I have specified all the styles &
formatting in separate style sheets, whose paths are given in HTML
document itself.

..that* can be achieved using HTML with a media='print'
style*** attached.

* Most of what could be achieved in formatting a
programmatically generated document.


There *are* scenarios when you have a nice printable html,
but *still* want to store it as a pdf.

We have a WebApp where the daily report are printed from the
browser with a media='print' style***, but every night that
page is converted to .pdf and archived.

This way, the users can look up old reports and, just as important,
they kan download and store the reports locally.

--
Dag.



.