soffice
CLI for the powerful and free LibreOffice suite. tldr-pages
On several platforms
Several platforms
Open one or more files in read-only mode
soffice --view path/to/file1 path/to/file2 ...IdentifyDisplay the content of one or more files
soffice --cat path/to/file1 path/to/file2 ...IdentifyPrint files using a specific printer
soffice --pt printer_name path/to/file1 path/to/file2 ...IdentifyConvert all .doc files in the current directory to PDF
soffice --convert-to pdf *.docIdentify