0
I used the libreoffice effect is not good, word layout is a mess. Also used OpenOffice,but word2007, WORD2010 use error. Tried cup-pdf, but i do not know how to set the effective without GUI.I want to make a command word to PDF function on the CentOS server.
Not much to go on for the nature of the problem. LO and OO can generally handle doc files, but it isn't their native format, so there may be some formatting that isn't run-of-the-mill that they have difficulty with. Are you sure the document isn't corrupted (looks fine in Word)? One option might be to use a web service, like https://smallpdf.com/, http://www.sejda.com/, or https://online2pdf.com/ (even if just to verify that the document is convertible). There are some PDF toolkits to roll your own, but I've never gotten into those.
– fixer1234 – 2016-10-10T07:45:29.963