Is there a Command Line only package to convert MS Office files to PDF?

Save PowerPoint presentations as PDF files

How can I automatically convert PowerPoint to PDF?

I need to convert .ppt/.pptx files to .pdf files (or images) through the command line using a 3rd party product.

I'm using this for a Windows 2008 server and I can't use any GUI or website as this needs to be an automated process.

I've tried libreoffice, but it has issues converting smart art.

Customer
-------------------------------
Is there a command-line interface only package to convert Microsoft Office files to PDF? Specifically, I need to be able to export

doc/docx (Word),
ppt/pptx (PowerPoint),
xls/xlsx (Excel), and
vsd/vsdx (Visio).

I am aware that an installation of LibreOffice comes with a CLI to convert documents, but it does not appear to support Visio diagrams. Is there a package that does?

Customer
-------------------------------

image
Thanks for your message, VeryPDF docPrint Pro product can be used to convert MS Office documents to PDF files using command line operation, you may download and purchase "Document Converter (docPrint Pro)" from this web page,

http://www.verypdf.com/app/document-converter/try-and-buy.html#buy_pro
http://www.verypdf.com/artprint/docprint_pro_setup.exe

after you download and purchase it, you can register it using your license key, then you can use this software to convert from PowerPoint documents to PDF files without any restrictions.

You can run following command lines to convert your Office documents to PDF files and image files, from command line,

"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -i C:\input.doc -o C:\output.pdf
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -i C:\input.doc -o C:\output.xps
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -i C:\input.doc -o C:\output.pcl
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -i C:\input.docx -o C:\output.pdf
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -i C:\input.doc -o C:\output.emf
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -i C:\input.doc -o C:\output.wmf
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -i C:\input.doc -o C:\output.bmp
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -i C:\input.xls -o C:\output.pdf
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -i C:\input.xlsx -o C:\output.pdf
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -i C:\input.xls -o C:\output.xps
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -i C:\input.xls -o C:\output.pcl
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -i C:\input.ppt -o C:\output.pdf
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -i C:\input.pptx -o C:\output.pdf
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -i C:\input.ppt -o C:\output.xps
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -i C:\input.ppt -o C:\output.pcl
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -i C:\input.vsd -o C:\output.tif
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -i C:\input.pdf -o C:\output.tif
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -i C:\input.ps -o C:\output.jpg
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -i C:\input.eps -o C:\output.jpg
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -R 90 -i C:\input.ppt -o C:\output.tif
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -R 270 -i C:\input.ppt -o C:\output.tif
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -i "http://www.verypdf.com/artprint/index.html" -o C:\output.pdf
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -i C:\input.pdf -o C:\out.tif -b 24
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -i C:\in.pdf -o C:\out.tif -b 1 -r 200x300
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -i C:\in.pdf -o C:\out.jpg -b 24 -r 200x300
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -i C:\*.doc -o C:\*.pdf
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -i C:\*.xls -o C:\*.pdf
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -i C:\*.xls -o C:\*.jpg
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -p 2 -i C:\input.ppt -o C:\output.pdf
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -a "Author" -i C:\input.dwg -o C:\output.pdf
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -l 10000 -i "http://www.verypdf.com/artprint/index.html" -o C:\output.pdf
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -s openpwd=123 -s ownerpwd=456 -s keylen=0 -s permission=3900 -i C:\test.doc -o C:\out.pdf
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -s ownerpwd=456 -s keylen=2 -s permission=3900 -i C:\test.doc -o C:\out.pdf
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -s checkprintable=1 -i C:\*.* -o C:\*.pdf
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -s checkprintable=1 -i C:\test.abc -o C:\out.pdf
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -s ShowHTMLStatusBar=1 -l 10000 -i http://www.verypdf.com -o C:\verypdf.pdf
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -s ShowHTMLStatusBar=1 -s timeout=60000 -i http://www.verypdf.com -o C:\verypdf.pdf
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -i C:\input.doc -o C:\output.txt
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -i C:\input.ppt -o C:\output.txt
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -i C:\input.xls -o C:\output.txt
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -i C:\Drawing1.vsd -o C:\out.pcl -s redirectprint=1
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -s "printer=PDF Printer1" -i C:\test.doc -o C:\out.pdf
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -s "convertviaserver=1" -i C:\test.doc -o C:\out.pdf
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -s "printer=PDF Printer1" -s "nochangedefaultprinter=1" -i C:\test.doc -o C:\out.pdf
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -# "test:123" -s runasmode=0 -i C:\test.doc -o C:\out.pdf
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -s "htmlheader=Page Header Test" -s "htmlfooter=Page Footer Test" -i http://www.verypdf.com -o C:\out.pdf
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -s "htmlheader=original" -s "htmlfooter=original" -i http://www.verypdf.com -o C:\out.pdf
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -s "htmlheader=&w &d &T" -s "htmlfooter=&u &D &p of &P" -i http://www.verypdf.com -o C:\out.pdf
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -s marginleft=0 -s margintop=0 -s marginright=0 -s marginbottom=0 -i http://www.verypdf.com -o C:\out.pdf
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -s PrintHTMLBackground=1 -i http://www.verypdf.com -o C:\out.pdf
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -s Office2TXTViaPrinter=1 -i C:\test.doc -o C:\out.txt
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -i C:\test.doc -o C:\out.txt
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -i C:\test.pdf -o C:\out-%03d.tif -c 5 -b 24 -r 200
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -i C:\test.pdf -o C:\out-%03d.tif -c 32773 -b 24 -r 200
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -i C:\test.pdf -o C:\out-%03d.tif -c 4 -b 1 -r 200
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -i C:\test.pdf -o C:\out.tif -c 4 -b 1 -r 200
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -i C:\test.rtf -o C:\out.pdf -s ShowOfficeUI=1
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -i C:\test.doc -o C:\out.pdf -s SilentPrintOffice=1
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -i C:\test.doc -o C:\out.pdf -s killoffice=1
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -i http://www.verypdf.com -o C:\out.tif -s colorspace=CMYK
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -i http://www.verypdf.com -o C:\out.tif -s colorspace=CMYK -s brightness=200
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -s printer=pdf01 -s outdebuglog=1 -s nochangedefaultprinter=1 -i C:\test1.doc -o C:\test1.pdf
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -s printer=pdf02 -s outdebuglog=1 -s nochangedefaultprinter=1 -i C:\test2.doc -o C:\test2.pdf
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -s outdebuglog=1 -s printer=auto -s nochangedefaultprinter=1 -i C:\test.doc -o C:\test.pdf
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -i C:\test.txt -o C:\out.tif -b 1 -s PrintTXTMode=1
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -i C:\test.txt -o C:\out.tif -b 1 -s PrintTXTMode=2
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -s OptUNCFile=1 -i "\\192.168.1.12\d\temp\test.docx" -o "\\192.168.1.12\d\temp\test.docx.tif"
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -f 9 -i X:\invoices\Temp-print-queue\20*.doc -o X:\invoices\*.pdf
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -s convertprn=1 -i D:\test.prn D:\out.pdf
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -s convertprn=1 -i D:\test.prn D:\out.png
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -s convertprn=1 -c 4 -b 1 -r 200 -i D:\test.prn D:\out.tif
"C:\Program Files (x86)\docPrint Pro v8.0\doc2pdf.exe" -s -s makebwpdf=1 -i D:\color.pdf D:\grayscale.pdf

You can call doc2pdf.exe from your application with CreateProcess() or exec() functions to convert office files to PDF files easily.

VeryPDF

VN:F [1.9.20_1166]
Rating: 10.0/10 (1 vote cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Is there a Command Line only package to convert MS Office files to PDF?, 10.0 out of 10 based on 1 rating

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!