But I need to pass a config file to html2ps that changes each time I call the command.
How do I pass the config file to html2ps from a commandline call to Imagemagick?
The command I am using is (pseudocode):
Code: Select all
convert -quality 85 -geometry 600x800 /path/to/page.htm /path/to/output/file.jpg
Somehow I also need to pass it the information of where the config file is:
Code: Select all
/path/to/html2ps/config/file.psconfig
My delegates file reads:
Code: Select all
<delegate decode="htm" command='"/path/to/html2ps/html2ps/bin/html2ps" -U -o "%o" "%i"' />
cheers
Biz