The Python library pdfconv can be used to convert a variety of different file types to PDF. It can be used on Windows as well as Linux.
To do the actual conversion pdfconv relays on comtypes and unoconv.
- Windows:
- comtypes
- unoconv
- Linux:
- unoconv
- comtypes (http://starship.python.net/crew/theller/comtypes/)
- unoconv (https://github.com/dagwieers/unoconv)