Tuesday, April 11, 2023

How to convert plain text file (.txt) into PDF via LibreOffice command-line?

Nowadays, major Linux distributions come with LibreOffice pre-installed.  Isn't it better for text-based users to use LibreOffice's command-line tool to convert their plain text files into PDF without having to install other programs?

% libreoffice --convert-to "pdf" file.txt

0 comments:

Post a Comment