Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

There is this software called doPDF which can convert images, word, poweropoint, excel files into pdf. http://www.dopdf.com/

How do I make use of this awesome tool in the command line so that I can call it from PHP in order to convert files into pdf format. If you know other alternatives which can run on the command line then it's also accepted as an answer.

share|improve this question
add comment

2 Answers 2

up vote 1 down vote accepted

I didn`t find an option with ~dopdf~, but I know two tools that could solve your problem:

- PDFForge:

PDFCreator enables you to create documents via the command line interface. Here are the different commands that PDFCreator supports.

Example: pdfcreator.exe /PF"C:\help.doc"

- CommandLinePDF:

Print PDF documents from your command line! With a few simple command line options you can fully control your PDF printing from any tool or application.

share|improve this answer
add comment

You could just use the PHP PDFlib Library to create PDF files through PHP.

The PDF functions in PHP can create PDF files using the PDFlib library which was initially created by Thomas Merz

Read all about it, etc...

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.