3 ms·
Yeah, unfortunately they are used for everything. One way to get the best of both worlds would be to have a normal webpage, but have the "Print this page" butt
by wtetzner 6y ago
Yeah, unfortunately they are used for everything.
One way to get the best of both worlds would be to have a normal webpage, but have the "Print this page" button generate a PDF that is nicely laid out. Often webpages are a mess to print.
I wonder how difficult it would be to write a tool that can turn a PDF into a usable webpage.
- kevincox 6y agoIn theory CSS has specific controls for laying out the "print" format of page page so your browser's print action should do the right thing. However in practice many websites don't put any effort into this, which is probably an indication that they wouldn't put any effort into a custom solution either. > I wonder how difficult it would be to write a tool that can turn a PDF into a usable webpage. I was looking into this but it is basically impossible. Since PDF is basically a collection of images (with some "fancy" stuff on top) you can get the basics, such as text and headings, however you won't be able to do much for semantics or layout. All web-based PDF viewers I have seen just render each page to an image and put invisible text on top for copy-paste support.