How to convert an Office document (DOC, DOCX, XLS, XLSX, PPT, PPTX, etc.) to PDF file via Command Line?
VeryPDF has three products which can convert MS Office documents (DOC, DOCX, XLS, XLSX, PPT, PPTX, etc.) to PDF documents,
Solution 1: DocConverter COM (HTML2PDF.exe) + PDFcamp Printer
Please download and install the PDFcamp Printer
and DocConverter COM from our website first,
https://www.verypdf.com/pdfcamp/pdfcamp.htm#dl
Please look at following URLs to study more information about DocConverter COM
product,
https://www.verypdf.com/pdfcamp/doc2pdf_readme.html
https://www.verypdf.com/pdfcamp/word-to-pdf-converter.html
How to convert HTML, DOC, DOCX, RTF, TXT, PPT, PPTX, XLS, XLSX file to PDF file
via Windows Service and Windows Application modes?
https://www.verypdf.com/pdfcamp/doc-converter-sdk.html
After you installed the PDFcamp Printer + DocConverter COM, please run following
command line to convert your documents to PDF files,
For example:
html2pdf.exe "http://www.yahoo.com" "c:\yahoo.pdf"
html2pdf.exe "http://www.google.com/search?sourceid=navclient&ie=UTF-8&oe=UTF-8&q=pdf"
"c:\google.pdf"
html2pdf.exe "C:\example.doc" "C:\example.pdf"
html2pdf.exe "C:\example.docx" "C:\example.pdf"
html2pdf.exe "C:\example.xls" "C:\example.pdf"
html2pdf.exe "C:\example.xlsx" "C:\example.pdf"
html2pdf.exe "C:\example.ppt" "C:\example.pdf"
html2pdf.exe "C:\example.pptx" "C:\example.pdf"
You can also call html2pdf.exe software from your application directly, then you
can convert your documents to PDF files on the fly.
If you wish run DocConverter COM from ASP or PHP code, please look at the
"doc2pdf_asp" directory, this example will let you know how to call html2pdf.exe
from ASP language,
Please look at "test_activex.html"
file and "test_all_functions.html"
to study how to call DocConverter COM from a HTML file.
Please look at this URL for the more information,
https://www.verypdf.com/pdfcamp/doc2pdf_readme.html
HTML2PDF.exe is depend on PDFcamp Printer, you have to install PDFcamp Printer in order to use this application.
Solution 2: Document Converter (docPrint Pro)
https://www.verypdf.com/artprint/index.html#dl
docPrint Document Converter Professional (docPrint Pro) is a software product
that dynamically converts MS Office 97/2000/XP/2003/2007, WordPerfect, HTML,
AutoCAD DWG, PostScript, EPS, PDF, MS Visio and many other document types to
PDF, PostScript, EPS, JPEG, TIFF, PNG, PCX and BMP etc formats. It works in both
GUI version and Command Line version. With docPrint Document Converter
Professional you can convert your documents from and to PDF, EPS, PS, JPEG,
TIFF, BMP, PCX, PNG files easily. (See
user manual)
docPrint Document Converter Professional Batch Conversion Formats:
Input formats: DOC, HTML, Web
Pages, RTF, TXT, XLS, PPT, VSD, PDF, PS, EPS as well as any other printable
documents
Output formats: PDF, PS, EPS,
JPEG, TIFF, BMP, PCX, PNG, PCL, XPS, TXT
Please look at following page for the command line options of docPrint Pro
product,
https://www.verypdf.com/artprint/document-converter/help.htm#cmd
docPrint Pro is depend on docPrint PDF Driver printer, you have to
install docPrint PDF Driver printer before you use this application.
Please download and install Document Converter (docPrint Pro) v5.0 from our
website, docPrint Pro product contains a docPrint PDF Driver, this print driver does
support PDF Creation, you can print your DOC, DOCX, HTML, PPT, PPTX, XLS, XLSX,
RTF, TXT, DWG, DXF, EPS, etc. documents to docPrint PDF Driver and save as to
PDF file easily,
https://www.verypdf.com/artprint/index.html#dl
https://www.verypdf.com/artprint/docprint_pro_setup.exe
After you installed docPrint Pro product, please print your document to docPrint
PDF Driver, then you can save as to PDF, PS, EPS, TIFF, BMP, JPEG, etc. formats.
For example, if you want to convert a DOC to PDF file, just open a .doc document
in MS Word application, click "File" -> "Print" menus in
MS Word, select "docPrint"
printer, then click "OK" to print to it, the docPrint Preview Window will appear
on desktop. Click "File" -> "Save To PDF/PS/EPS Files"
menus or directly click "Save"
icon on the toolbar in the docPrint Preview Window, then you will get a PDF file
properly.
docPrint Pro is also support batch conversion, you can batch convert your MS
Office documents to PDF, PS, EPS, TIFF, BMP, JPEG, PCL, XPS, etc. formats quickly and
easily.
You can run doc2pdf.exe command line application to convert .DOC; .DOCX; *.RTF;
*.PPT; *.PPTX; *.XLS; *.XLSX; *.HTML; *.MMTML, *.PS files to PDF, JPEG, TIFF,
Postscript, PCX, BMP, TGA, PCL, XPS etc. files, please look at following page for more
information,
https://www.verypdf.com/artprint/document-converter/help.htm
More Command Line examples to convert documents,
"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" -i C:\input.doc -o C:\output.pdf
"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" -i C:\input.xls -o C:\output.pdf
"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" -i C:\input.vsd -o C:\output.tif
"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" -i C:\input.pdf -o C:\output.tif
"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" -i C:\input.pdf -o C:\output.ps
"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" -i C:\input.ps -o C:\output.pdf
"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" -f 8 -i "http://www.verypdf.com"
-o C:\output.pdf
"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" -f 1 -i "http://www.verypdf.com"
-o C:\output.pdf
"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" -i C:\input.pdf -o C:\out.tif
-b 24
"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" -i C:\in.pdf -o C:\out.tif -b 1
-r 200x300
"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" -i C:\in.pdf -o C:\out.jpg -b
24 -r 200x300
"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" -i C:\*.doc -o C:\*.pdf
"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" -i C:\*.xls -o C:\*.pdf
"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" -i C:\*.xls -o C:\*.jpg
"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" -p 2 -i C:\input.ppt -o C:\output.pdf
"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe" -a "Author" -i C:\input.dwg -o
C:\output.pdf
Solution 3:
VeryDOC DOC to Any Converter
http://www.verydoc.com/doc-to-any.html
VeryDOC DOC to Any Converter can be used to batch convert DOC, DOCX, DOCM, RTF,
TXT, PPT, PPTX, XLS, XLSX files to PDF, Postscript, PS, EPS, SVG, SWF, XPS, PCL,
HPGL, HTML, MHTML, RTF, Text, XML, JPG, TIFF, EMF, WMF, BMP, GIF, PNG, TGA, PCX,
etc. formats. The program is handy and powerful. The software can be run using
the handy interface or in batch mode to convert large volumes of MS Office files
in real-time.
VeryPDF.com |
VeryDOC.com |
VeryPCL.com | Links | Contact
Copyright © 2002- VeryPDF.com, Inc. All rights reserved.
Send comments about this site to the webmaster.