I tried converting EPUB to PDF using a headless libreoffice 220.127.116.11 but it doesn’t seem to work.
From the supported format on the Wikipedia page, it doesn’t seem to be able to read EPUB, does that mean it cannot convert EPUB to PDF?
Is that page up to date?
I found this info on the website and wikipedia
LibreOffice is compatible with a wide range of document formats such as Microsoft® Word (.doc, .docx), Excel (.xls, .xlsx), PowerPoint (.ppt, .pptx) and Publisher. But LibreOffice goes much further with its native support for a modern and open standard, the Open Document Format (ODF).
I found this thread and noticed that libreoffice can write as EPUB since version 6?