4 ms·
> no print support Um, somewhat tangential, but I built a statically generated CV in html, presuming that I could effortlessly print that to a PDF using a brow
by dmos62 4y ago
> no print support
Um, somewhat tangential, but I built a statically generated CV in html, presuming that I could effortlessly print that to a PDF using a browser. Not so. Web page printing is extremely broken in every browser, and I tried them all. And, every browser had different defects. Chromium seemed to have the least horrible print functionality, but it was still really really broken. It's probably ok if you want to have a copy of some article content where presentation doesn't matter, but if it's something that you want to have a specific layout or design, tough luck.
- tehbeard 4y agoSilly question, but did you just use the same CSS as for the screen, or also make use of the various `@media print {...}` related CSS properties (for things like page breaks, switching to more traditional print units instead of px and rem etc)
- dmos62 4y agoI didn't switch distance units, but I did try out more or less everything else. Print-specific css properties weren't well supported or well implemented. Dealing with page breaks was particularly annoying.