OpenPDF is an open-source Java library for creating, editing, rendering, and encrypting PDF documents, as well as generating PDFs from HTML. It is licensed under the LGPL and MPL open source licenses.
If your company wants to sell IoT or edge gear in the EU, Canonical's minimal, immutable distro is worth a serious look.