在Ubuntu系统中,使用LibreOffice导出PDF文档的步骤如下:
sudo apt install libreoffice
并按回车键进行安装。libreoffice --headless --convert-to pdf input_file.docx --outdir output_directory
其中,input_file.docx
是要转换的文档文件名,output_directory
是转换后PDF文件的输出目录。
/usr/share/fonts
目录中。通过以上步骤,您可以在Ubuntu系统中使用LibreOffice成功导出PDF文档。
亿速云「云服务器」,即开即用、新一代英特尔至强铂金CPU、三副本存储NVMe SSD云盘,价格低至29元/月。点击查看>>
推荐阅读:如何打印ubuntu上的resume