Html to pdf: wkhtmltopdf
wkhtmltopdf is a web tool to use webkit rendering engine developed used to turn into html pdf can be integrated to convert documents with a variety of scripting languages.
Official website: https: //wkhtmltopdf.org/
github URL: https: //github.com/wkhtmltopdf/wkhtmltopdf
Reference: https: //blog.csdn.net/x6582026/article/details/53835835
Linux command line merge pdf file: cpdf
Official website: https: //www.coherentpdf.com/usage-examples.html