PSVellumPDF

1.2.3

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 -RequiredVersion 1.2.3

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

Install-PSResource -Name PSVellumPDF -Version 1.2.3

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.2.3: security hardening, no API additions. -LinkUri now allows only http, https, and mailto URLs; any other scheme, and relative or scheme-relative URIs, is rejected (previously only javascript/vbscript/data/file were blocked). The RFC-3161 timestamp HTTP client no longer follows redirects and honours -TimestampTimeout, shrinking the SSRF surface of the save-time TSA call. Protect-VellumPdfDocument warns when an owner password is set with no user password and the default -Permission All, which leaves the document unrestricted. Full changelog: https://github.com/Tim81/PSVellumPDF/blob/main/CHANGELOG.md

FileList

Version History

Version Downloads Last updated
1.3.0 7 6/13/2026
1.2.3 (current version) 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