Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

There is this software called doPDF which can convert images, word, poweropoint, excel files into pdf.

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
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

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .