Converting DOCX files to PDF via SSH without losing formatting

Posted by Reado on Super User See other posts from Super User or by Reado
Published on 2011-11-25T16:32:16Z Indexed on 2011/11/25 17:54 UTC
Read the original article Hit count: 262

Filed under:
|
|
|
|

I'm struggling to find a solution that will allow me to convert a DOCX file to a PDF without losing or malforming the formatting of the document on CentOS 5.7. I have tried CUPS-PDF but it doesn't work; spool files appear in the /var/spool folder but nothing happens after that. OpenOffice and LibreOffice converted a DOCX to PDF but the formatting was all wrong.

However if I print the DOCX to a Windows PDF printer from my Windows 7 workstation, it outputs to PDF absolutely fine. So why can't Linux do the same?

I tried to print via CUPS to the Windows PDF printer (shared) but the document appears in the queue as "Remote Downlevel Document" and doesn't print. This only happens when I print from Linux.

© Super User or respective owner

Related posts about Windows

Related posts about linux