wkhtmltopdf task
wkhtmltopdf task
Description
Task to process wkhtmltopdf .
Installation
Install binary and setup system PATH.
Typescript task parameters
Typescript task parameters
Attribute | Description | Value | Required |
---|---|---|---|
file | the file to process | yes | |
tofile | the output file | yes | |
options | override all previous options | no |
Examples
<project name="wkhtmltopdf task">
<taskdef name="wkhtmltopdf"
classname="net.sourceforge.ant4x.taskdefs.doc.WkhtmltopdfTask"
classpath="PATH/TO/ant4x.jar"/>
<target name="wkhtmltopdf">
<wkhtmltopdf file="index.html" tofile="out.pdf"/>
</target>
</project>