Is there any good way to have a button that lets users save a page as a file for clean viewing later, likely as PDF? Needs to respect @media print CSS.
Options considered:
- http://www.web2pdfconvert.com - styling is ultra-basic and doesn't take account of @media print - would be acceptable if it used the @media print CSS
- "Print" button that triggers print to file, e.g. Microsoft XPS Document Writer - my understanding is that this is not doable, and if users understood they could easily print to a file they wouldn't need a button
- Word doc - has the advantage of being editable, but my understanding is this is hugely complex, especially with dynamic formatting
- Button opens a separate PHP file that serves a pdf, as using http://www.fpdf.org/ - my understanding is there would be a ton of work recreating the formatting I've already made with CSS, and may not be able to get 100% there
- Save html viewable with Word - awkward to email since CSS in separate file, and Word handles CSS poorly anyway
Is there a simpler way that I'm missing? Or a good way to get past the obstacles I found with one of these options?