Jetformat

Pin a file attachment to a PDF page

Use jetformat pdf pin to pin a file attachment to a PDF page.

By Jetformat

A pinned attachment is a page annotation, different from embedding a file only in the catalog. Choose the page where the supporting file should be discoverable.

Steps

  1. Start with a local PDF. Replace the sample paths and identifiers with your own.
  2. Run the command below. Save to a new output path so the source remains available for comparison.
  3. Check the result as described below before using it in another job.
jetformat pdf pin book.pdf --file notes.txt --page 1 -o pinned.pdf

Options for this task

Option Meaning
--file Path of the file to pin
--output Output PDF path (required)
--page 1-based page number (default 1)
--x Lower-left X in pt (default 72)
--y Lower-left Y in pt (default 72)

Check the result

Open the saved PDF in a viewer supporting attachment annotations and verify the file can be accessed there.

Notes and limits

This operation uses page-based credits. Review the billing guide before processing a large document.

The examples keep the original file. Add --force only when you intend to overwrite an existing output. Run jetformat pdf pin --help to compare options with your installed version.

See the pdf command reference for the surrounding workflow.

Last updated