This repository contains more advanced samples using the @pdftron/pdfnet-node SDK.
Make sure to insert your license key into the license-key.json file before running any samples.
The Apryse SDK offers a comprehensive set of conversions capabilities.
-
Apryse SDK offers the ability to convert HTML to PDF with high fidelity and accuracy using our HTML2PDF module. The sample covers the following:
- Header and Footer templating as listed on the chromium docs
- Replacing placeholders with updated page numbers to generate a dynamic Table of Contents
Blank Table of Contents Updated Table of Contents
To run this sample use the following commandnode .\src\samples\conversions\html-to-pdf\index.js
The output file can be located at .\src\files\output\html-to-pdf.pdf