6 ms·
Would be nice if browsers would support saving pages directly as pdf using there own pdf librarys.
by mp3geek 9y ago
Would be nice if browsers would support saving pages directly as pdf using there own pdf librarys.
- kazinator 9y agoChrome has great HTML to PDF saving, which is in fact all I use it for. My home-brew accounting software generates HTML invoices; I need them in PDF also, though.
- mp3geek 9y agoSave page as? Note, I'm not refering to print to pdf here.
- Dylan16807 9y agoWhat's the difference?
- tempay 9y agoPrinting tries to reformat the page to fit on some paper size and often removes details such as the background. Often it would be nice to make a PDF that shows a screenshot of the full current page, extensions exist for this but ntjifn natively.
- kazinator 9y agoWhy PDF then; it could be saved as a PNG, which an ImageMagick one-liner can turn into a PDF (or several of them into a multi-pager). It would be good if a way was available for any application to take a full window screenshot, rather than the viewport screenshot.
- izacus 9y agoPNG is an image format which is usually significantly larger than the corresponding PDF document and rendered at fixed quality. PDF is (mostly) a vector format which can be resized at will.
- kazinator 9y agoBut "details such as the background" will probably consist of a whole lot of raster images.
- tempay 9y agoOr just a block of colour which will be very efficient. If there are images they are probably jpegs and can be embedded in the PDF without any loss of quality while still keeping the quality benefits of a vector format for text.
- porker 9y ago> Why PDF then It's nice to have the web page's text searchable without having to OCR the PNG.
- rwallace 9y agoI had no idea Chrome could do that. Tried it just now and it works perfectly. Thanks!
- abritinthebay 9y agoEverything on the Mac has Print to PDF natively and it’s so nice It’s one of the things I miss most when using an other OS.
- tonyedgecombe 9y agoWindows has that now.
- abritinthebay 9y agoGot to admit - not used Win10 much, is it’s PDF support good out of the box system wide now?
- shitlord 9y agoYeah, there's a printer called "Microsoft Print to PDF" now, which works in pretty much everything (even something as crappy as notepad).
- isatty 9y agoNotepad is probably the only program that I wouldn't call crappy in windows. I think it follows the unix philosophy of doing only one thing and doing it right. I'm not a windows user but it's been useful.
- icebraining 9y agoNo, Notepad does one thing but it doesn't do it right. Can't open large files without locking up. Still saves UTF-8 files with a BOM. It can't deal with unix-style newlines.
- chungy 9y agoLinux has had that since around 2000.
- 9y ago