htmldoc

Convert HTML documents to PDF or PostScript format

brewmacoslinux
Try with needOr install directly
Source

About

Convert HTML to PDF or PostScript

Commands

htmldoc

Examples

Convert a single HTML file to PDF$ htmldoc -f output.pdf input.html
Convert HTML from stdin to PDF with custom options$ htmldoc --webpage -f output.pdf --left 1cm --right 1cm input.html
Generate PostScript output from multiple HTML files$ htmldoc -f output.ps file1.html file2.html file3.html