PSVellumPDF

1.3.0

Create PDF files from PowerShell on Windows, Linux, and macOS. PSVellumPDF wraps the VellumPdf .NET 10 engine; you build a document with one pipeline and save it:

 New-VellumPdfDocument | Add-VellumPdf... | Save-VellumPdfDocument

Add headings with outline bookmarks, paragraphs, mixed-style text runs, ordered and unordered lists, tables, line separators, and running
Create PDF files from PowerShell on Windows, Linux, and macOS. PSVellumPDF wraps the VellumPdf .NET 10 engine; you build a document with one pipeline and save it:

 New-VellumPdfDocument | Add-VellumPdf... | Save-VellumPdfDocument

Add headings with outline bookmarks, paragraphs, mixed-style text runs, ordered and unordered lists, tables, line separators, and running headers and footers that resolve {page}/{pages}. Text carries per-run colour, hyperlinks, alignment, and line spacing; tables take header rows, column widths, borders, and header backgrounds. Embed images in JPEG, PNG, BMP, GIF, TIFF, JBIG2, or JPEG 2000.

Set the page size (A0-A6, Letter, Legal, Ledger), margins, and document info. Use any of the 14 standard PDF fonts, or embed a TrueType font for full Unicode, which PDF/A also requires. Tagged structure, a /Lang language tag, and per-image alt text produce accessible output.

For archives, emit PDF/A-2b, 2u, or 2a with an output intent from the default sRGB profile, a custom ICC profile, or generic CMYK. To protect a file, apply AES encryption with user and owner passwords and permission flags, or add a PAdES digital signature, optionally with an RFC-3161 timestamp (PAdES B-T).

PSVellumPDF only writes new PDFs. It cannot read, edit, split, or merge an existing file: VellumPdf is a generation engine with no parser.
Show more

Minimum PowerShell version

7.6

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name PSVellumPDF

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name PSVellumPDF

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

© Timothy van der Ham. Licensed under Apache-2.0.

Package Details

Author(s)

  • Timothy van der Ham (@Tim81)

Tags

PDF VellumPdf PDFA Accessibility Document Reporting Create Generate Signing PAdES CrossPlatform Windows Linux MacOS

Functions

New-VellumPdfDocument New-VellumPdfTextRun Add-VellumPdfHeading Add-VellumPdfImage Add-VellumPdfLineSeparator Add-VellumPdfList Add-VellumPdfParagraph Add-VellumPdfTable Register-VellumPdfFont Save-VellumPdfDocument Set-VellumPdfHeader Set-VellumPdfFooter Set-VellumPdfDocumentInfo Set-VellumPdfOutputIntent Set-VellumPdfSignature Protect-VellumPdfDocument

PSEditions

Core

Dependencies

This module has no dependencies.

Release Notes

1.3.0: usability features, no breaking changes. Add-VellumPdfTable accepts PSCustomObject rows straight from Import-Csv (header derived from property names) and rich per-cell hashtables (Text/ColSpan/RowSpan/Background/Alignment/Font/FontSize/Color), plus -AlternateRowBackground (zebra striping) and -ColumnAlignment. Every colour parameter now also accepts a hex string (#3366cc/#36c) or a colour name, not just an 0..1 triple. Add-VellumPdfList builds nested lists from hashtable items with Children. Add-VellumPdfImage gains -ImageBytes/-Format for in-memory images. Full changelog: https://github.com/Tim81/PSVellumPDF/blob/main/CHANGELOG.md

FileList

Version History

Version Downloads Last updated
1.3.0 (current version) 7 6/13/2026
1.2.3 4 6/13/2026
1.2.2 4 6/13/2026
1.2.1 5 6/13/2026
1.2.0 5 6/13/2026
1.1.1 4 6/11/2026
1.1.0 5 6/11/2026
1.0.0 6 6/11/2026
0.1.0 6 6/10/2026
Show more