DOC a PDF Linux

lowriter --convert-to pdf file.docx
# for advanced document, use wps for convert there.
Ganz404