wkhtmltopdf and wkhtmltoimage are open source (LGPLv3) command line tools to render HTML into PDF and various image formats using the Qt WebKit rendering engine.

Web2PDF is not available for Linux but there are a few alternatives that runs on Linux with similar functionality. The best Linux alternative is wkhtmltopdf, which is both free and Open Source. If that doesn't work for you, our users have ranked more than 10 alternatives to Web2PDF, but unfortunately only two of them are available for Linux. If you can't find an alternative you can try to remove all filters.
wkhtmltopdf and wkhtmltoimage are open source (LGPLv3) command line tools to render HTML into PDF and various image formats using the Qt WebKit rendering engine.

Python library which provides a high-level API to control headless Chrome or Chromium over the DevTools Protocol. It can also be configured to use full (non-headless) Chrome or Chromium' and is an app in the Development category.