convert pptx to pdf for free code example Example: linux pptx to pdf libreoffice --headless --invisible --convert-to pdf *.pptx