2020-11-23 20:37 UTC+01:00, Bob Goodwin <bobgoodwin(a)fastmail.us>:
What is the best way to convert an HTML file to PDF. I have a two
page
report in HTML form that I want to change to PDF. I can scan a printed
copy but I would like to convert the HTML file I received to PDF.
LibreOffice reformat it into a four page document, I would prefer to
keep the original two page style.
I don't know if there is a best way, but you could try ebook-convert
(part of the calibre package). If you're lucky, you'll be satisfied
with the result of
ebook-convert your.html your.pdf
Otherwise, you'll need to read about the options here:
https://manual.calibre-ebook.com/generated/en/ebook-convert.html#pdf-outp...
Andras