Forum How do I...?

Generate several PDF files with one single call of prince?

Florent
Hello,

I have several HTML files and I need to convert each one of them in a PDF file. Is it possible to achieve that with one single call of prince? I would like to avoid calling the prince command line command for each HTML file to convert.

The command line interface examples show how to generate a single PDF file from various HTML files, but in my case I want a distinct PDF file for each HTML file.

Thanks!
mikeday
At the moment Prince only generates one PDF file per invocation. If you are running on Linux or MacOS X it is easy to do this with a shell script:
for i in *.html ; do
    prince $i
done