Skip to main content
Kinetic Community

Sample HTML to PDF

This handler converts HTML to a PDF.

Downloads

By downloading this file, you acknowledge that you agree to our Terms of Service

sample_html_to_pdf_v1.zip

Detailed Description

html-to-pdf.jpgThis handler converts an HTML string into a PDF. This handler returns the pdf as the xml escaped binary content. For maximum efficiency, this handler should be combined with whatever you want to use the PDF for. Depending on the size of your generated PDF, the PDF binary content response could negatively impact Kinetic Task's performance by either slowing it down or crashing it. 
 
Note: This handler needs to have wkhtmltopdf installed on the task server to run properly. Instructions and downloads can be found at http://wkhtmltopdf.org/downloads.html
 
 

Parameters

Name Description
HTML The html string that will be converted to a pdf.

Sample Configuration

Parameter Example Configuration
HTML <html><h1>header</h1></html>

Results

Name Description
PDF Content The binary content for the generated pdf.

Change Log

Version Date Description
V1 2014-08-12 Initial Version