Grooper Help - Version 25.0
25.0.0017 2,127
  • Overview
  • Help Status

HTML Document - Convert to PDF

HTML Document Command Grooper.Messaging

Converts an HTML document to PDF format.

Remarks

Use this command to generate a PDF version of an HTML document, with options to control page size, orientation, color mode, margins, and output quality.

How it works

  • The HTML content of the document is rendered as a PDF file.
  • You can choose standard or custom page sizes, set margins, and adjust image quality and DPI.
  • The output PDF can be saved as a new rendition, replace the original attachment, or be saved as a supplemental file.

Typical Use Cases

  • Archiving HTML emails or web pages as PDF documents.
  • Generating PDF renditions for downstream processing or export.

Rendering Quality

  • This command leverages the WebKit rendering engine to convert HTML to PDF.
  • This generally provides high-fidelity rendering for most modern HTML and CSS, including support for web fonts, images, and complex layouts.
  • However, some advanced or newer CSS features (such as flexbox, grid, or certain media queries) may not be fully supported.
  • For best results, test your HTML content to ensure it appears as expected in the generated PDF.

Notes

  • Interactive or dynamic content (like JavaScript-driven UI) is rendered as static output.
  • If you select a custom page size, you must specify the dimensions in the Custom Size property.
  • Margins, DPI, and image quality can affect the appearance and file size of the resulting PDF.

Properties

NameTypeDescription

See Also

Notification