LinuxCommandLibrary

lowriter

TLDR

Start Writer

$ lowriter
copy
Open document
$ lowriter [document.odt]
copy
Convert to PDF
$ lowriter --convert-to pdf [document.odt]
copy
Convert to DOCX
$ lowriter --convert-to docx [document.odt]
copy
Batch convert multiple files
$ lowriter --convert-to pdf --outdir [output/] [*.odt]
copy
Print document
$ lowriter -p [document.odt]
copy

SYNOPSIS

lowriter [options] [files...]

DESCRIPTION

lowriter is the word processor component of LibreOffice. It provides full-featured document editing, formatting, and publishing capabilities compatible with Microsoft Word formats.
The command line interface enables batch conversions and scripting.

PARAMETERS

--convert-to format

Convert to specified format.
--outdir dir
Output directory for conversions.
-p
Print document.
--pt printer
Print to specific printer.
--headless
Run without GUI.
--view
Open in read-only mode.

SUPPORTED FORMATS

$ Input:  ODT, DOC, DOCX, RTF, TXT, HTML
Output: PDF, ODT, DOCX, RTF, TXT, HTML
copy

CAVEATS

GUI requires display (use --headless for servers). Conversion quality depends on format complexity. Large documents may need increased memory.

HISTORY

LibreOffice Writer evolved from OpenOffice.org Writer, which originated from StarWriter by Star Division (acquired by Sun Microsystems in 1999). LibreOffice forked in 2010.

SEE ALSO

Copied to clipboard