convert excel to pdf on ubuntu server use shell
You could convert everything to pdf first using:
- Install dependency and font
apt-get --no-install-recommends install libreoffice
apt-get -y install fontconfig xfonts-utils
apt-get install ttf-wqy-microhei # Chinese Font
- Convert use shell
libreoffice --headless --invisible --convert-to pdf *.libreofficeextension
If Chinese characters are not displayed properly, please visit:
https://segmentfault.com/a/1190000010301670