简体   繁体   中英

Use LibreOffice / OpenOffice to convert docx to pdf

i want to use LibreOffice / OpenOffice commande line to convert docx file to pdf file, but i'm struggling to use these tool, Is there anyone who knows how to use LibreOffice / OpenOffice commande line ?.

Please, If there's any suggestion, do not hesitate.

Thank You !

This may work.

soffice --convert-to pdf some.docx --headless

(I've only tried it with .odt files myself, but fingers crossed.)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM