# PDF

Category: Transformation
|
Runtime: 1.0
|
Available: Free

# Overview

PDF node is a tranformation node that generates a pdf buffer content from a HTML document. The node supports capability to control the page size of the PDF document that is generated.

# Setup

# Prerequisites

NA

# Installation

To install the node from designer:

  1. Go to Add more nodes option on the palette section.
  2. Check for the PDF node and click install.
  3. Once installed, the designer is required to be restarted.

To install the node from CLI:

  1. Go to your project workspace where you can see your package.json file.
  2. Run the below give npm command.
    npm i @kumologica/kumologica-contrib-pdfgenerator

# Technical Details

Properties

  • HTML content (Optional)
    HTML content that needs to be used for generating the PDF.
  • Page Size (Optional)
    Standard Page size format supported for PDF. A0 - A8, Letter, Legal, Ledger,Tabloid.

Supported Operations NA

Throws

  • PDFError

Returns

Payload is overwritten by the response from this node. The node return an PDF buffer content.