Command Line
PDF
Links
Install
Install the linux, CUPS, PDF printer: CUPS.
Usage
To convert a LibreOffice Draw file to PDF:
libreoffice -invisible -norestore -pt CUPS-PDF diagram.odg
To convert all ODT files in the current directory:
find . -name '*.odt' -exec libreoffice -invisible -norestore -pt CUPS-PDF '{}' \;
You’ll find PDF files in a folder called PDF
, in your home directory.
Note: The document will be printed using the default paper size for the
CUPS-PDF
printer.