How to convert HTML to PDF with HTMLDoc on Debian 10

HTMLDOC is an open-source program that can be used to convert HTML and Markdown source files to PostScript and PDF files. In this tutorial, we are going to explain how to install HTMLDOC on Debian 10 and convert an HTML file to pdf.