Martin Escardo on Nostr: npub1z2qdm…u3yuf I don't use google-chrome, but on linux (Ubuntu 22.04) I use it in ...
npub1z2qdmfzhs2uwg8kmsh37xavt2hq48gch63e787ggd3s6mt8waxgsxu3yuf (npub1z2q…3yuf) I don't use google-chrome, but on linux (Ubuntu 22.04) I use it in one script to print an html page to pdf.
Assuming that you have loaded the html with wget, you can do
$ google-chrome --headless --print-to-pdf="file.pdf" file.html
Assuming that you have loaded the html with wget, you can do
$ google-chrome --headless --print-to-pdf="file.pdf" file.html