(no title)
tom_alexander | 3 months ago
I've been making my reports in self-contained HTML files[0] and it works out so much better than PDF. It is not constrained by paper sizes, and it lets me add some nifty features. For example, I recently added support for hiding columns in a table using exclusively CSS. The only downside is browsers can render things slightly differently, but for my use cases I don't need pixel-perfect identical rendering.
[0] Images are inlined base64-encoded, CSS/JS embedded with style and script tags. No external assets / no http requests.
giancarlostoro|3 months ago
https://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Medi...
dmboyd|3 months ago
kgwxd|3 months ago
wongarsu|3 months ago
Even with the same word document opened only in various MS Word versions (web, desktop, etc) you won't get consistent page numbers. And HTML tables work great on screen but don't print very well if they span more than what fits on a single sheet of paper
dwroberts|3 months ago
giancarlostoro|3 months ago
fuzzy2|3 months ago
gnomewascool|3 months ago