HTML to PDF

Overview

Version 1.0.0 - Accepts inline and internal styles and also adds images in the PDF if they are publicly hosted. Based on content, multiple pages will be created in the PDF. The Smart Service will accept HTML files with properly closed tags including <br> and <img> tags otherwise the node will be errored out.

Version 2.0.0 - Everything with Version 1.0.0 and ability to generate PDF from HTML with landscape orientation.

Key Features & Functionality

Inputs

  • Source Document (Document) - The html file to be converted into PDF.
  • New Document Name (Text) - Name for the newly created PDF Document.
  • New Document Desc (Text) - Description of the output PDF Document.
  • Save In Folder (Folder) - Folder to which the output PDF Document to be saved in.

Outputs

  • New Document Created (Document) - The output PDF file.
  • Error Message (Text) - Error message received.
  • Error Occurred (Boolean) - Set to true on the occurrence of error.
Anonymous
Parents
  • For those asking how to page break we are able to do so by adding the following css and code to the markup.  Add the css to the style tag of the page, and then everywhere you want to page break, add the <p> tag below.

    .pageBreak {
        page-break-before: always;
    }

    <p class="pageBreak"></p>

Comment
  • For those asking how to page break we are able to do so by adding the following css and code to the markup.  Add the css to the style tag of the page, and then everywhere you want to page break, add the <p> tag below.

    .pageBreak {
        page-break-before: always;
    }

    <p class="pageBreak"></p>

Children
No Data