HTML to PDF
This task takes a single argument, which is a file path to an XHTML stylesheet ( *.xsl).
The binary stream is taken from each repository document and converts it to a pdf using the template.
Here's a default stylesheet to save and try. HTML-PDF Stylesheet
Less complex examples can be found here.
Configuration
To use this task go to the task tab in your job. Select the task from the drop down and click the plus circle to configure the task. Click done after making any changes to save.
Condition check
It will execute the task when the condition's result is 'true', 't', 'on', '1', or 'yes' (case-insensitive), or run on all conditions if left empty. This condition is evaluated for each document, determining whether the task should be executed based on the specified values.
Example: If I only want to run this task for PDF documents I would use the expression: equals('#{rd.mimetype}',"application/pdf")
XHTMLStylesheet
HTML to print format stylesheet file path