Jetformat

Embed a file in a PDF attachment catalog

Use jetformat pdf attach to embed a file in a PDF attachment catalog.

By Jetformat

The attachment is stored in the PDF catalog. Use this when distributing a supporting file with a document rather than displaying an attachment icon at a page location.

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 attach book.pdf --file notes.txt -o attached.pdf

Options for this task

Option Meaning
--file Path of the file to embed
--output Output PDF path (required)

Check the result

Run pdf attachments on the result and confirm the intended file is listed.

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 attach --help to compare options with your installed version.

See the pdf command reference for the surrounding workflow.

Last updated