Skip to content

Fortified IDDocs

Html2Pdf

Takes a HTML file and converts to a PDF file.

Location or name of pdf file generated is stored on item. Name is stored in pdf_file property on item. New item is created if missing.

HTML template supports expansion.

NameDescriptionDefaultMandatory
nameMust be Html2PdfN/A
html_templateWhere to load template fromN/A
store_pdf_full_pathStore full path with name or just name.true
output_directoryPdf output directory."."
resources_directoryLocation of where to put additional resources such as fonts and images.N/A

Attached ZIP contains example on basic operations creating an html with expansion & resources.

example.zip