PDF Stationery Underlay

Place document pages on top of stationery/background template pages (letterhead style underlay)

Compose output PDF by drawing each source page over a template/stationery page.

Typical use:

  • Corporate letterhead background
  • Official red-header template
  • Form background alignment

Source pages are scaled and centered on the stationery page with configurable margins.

Example Results

2 examples

Apply Letterhead Underlay

Render a source PDF over a stationery template for official output

pdf-stationery-underlay-example1.pdf View File
View input parameters
{ "sourceFile": "/public/samples/pdf/pdf-2026-02-19-source-4pages.pdf", "stationeryFile": "/public/samples/pdf/pdf-2026-02-11-source-2pages.pdf", "templateMode": "cycle", "scaleMode": "contain", "marginMm": 8, "contentOpacity": 1 }

Cycle Stationery Pages with Cover Fit

Cycle multi-page stationery templates and cover-fill each page with slight content transparency

pdf-stationery-underlay-example2.pdf View File
View input parameters
{ "sourceFile": "/public/samples/pdf/pdf-2026-02-19-source-4pages.pdf", "stationeryFile": "/public/samples/pdf/pdf-2026-02-11-source-2pages.pdf", "templateMode": "cycle", "scaleMode": "cover", "marginMm": 2, "contentOpacity": 0.85 }

Click to upload file or drag and drop file here

Maximum file size: 500MB Supported formats: application/pdf

Click to upload file or drag and drop file here

Maximum file size: 500MB Supported formats: application/pdf

Key Facts

Category
Documents & PDF
Input Types
file, select, number
Output Type
file
Sample Coverage
4
API Ready
Yes

Overview

The PDF Stationery Underlay tool allows you to professionally merge your documents with custom background templates, such as corporate letterheads or official forms. By placing your source PDF pages on top of a stationery template, you can ensure consistent branding and layout across all your exported files.

When to Use

  • Applying a corporate letterhead to plain text documents.
  • Adding official red-header templates to internal reports.
  • Aligning document content onto pre-designed form backgrounds.

How It Works

  • Upload your primary document PDF and the stationery template PDF.
  • Select a template mapping mode to determine how background pages align with your document.
  • Adjust the scale mode, page margins, and content opacity to achieve the desired visual result.
  • Process the file to generate a new PDF with the stationery applied as a background layer.

Use Cases

Standardizing business correspondence with branded letterhead.
Converting plain exports into official-looking documents.
Batch-applying background watermarks or frames to existing PDFs.

Examples

1. Apply Letterhead Underlay

Background
A user has a 4-page report and a 2-page corporate letterhead template.
Problem
The report needs to be branded with the company letterhead on every page.
How to Use
Upload the report as the source file and the letterhead as the stationery file, then select 'cycle' mode.
Example Config
templateMode: cycle, scaleMode: contain, marginMm: 8
Outcome
A 4-page PDF where the stationery template repeats across the document pages with an 8mm margin.

2. Cycle Stationery Pages with Cover Fit

Background
A user needs to place content onto a specific form background with slight transparency.
Problem
The content needs to fill the entire page area while maintaining a subtle look.
How to Use
Upload the document and the form template, set the scale mode to 'cover', and reduce the opacity.
Example Config
templateMode: cycle, scaleMode: cover, marginMm: 2, contentOpacity: 0.85
Outcome
A professional document where the content covers the background template with 85% opacity.

Try with Samples

pdf, file

Related Hubs

FAQ

Can I use a multi-page stationery template?

Yes, you can choose to cycle through multiple template pages or match them by index to your document pages.

What is the difference between 'contain' and 'cover' scale modes?

'Contain' fits your document within the margins of the template, while 'cover' scales the content to fill the entire page area.

Can I adjust the transparency of my document?

Yes, you can set the document opacity between 0.2 and 1.0 to control how much of the background template shows through.

Is there a limit to the file size I can upload?

The tool supports PDF files up to 500MB.

Does this tool modify the original PDF?

No, it creates a new output file with the underlay applied, leaving your original source files unchanged.

API Documentation

Request Endpoint

POST /en/api/tools/pdf-stationery-underlay

Request Parameters

Parameter Name Type Required Description
sourceFile file (Upload required) Yes -
stationeryFile file (Upload required) Yes -
templateMode select No -
scaleMode select No -
marginMm number No -
contentOpacity number No -

File type parameters need to be uploaded first via POST /upload/pdf-stationery-underlay to get filePath, then pass filePath to the corresponding file field.

Response Format

{
  "filePath": "/public/processing/randomid.ext",
  "fileName": "output.ext",
  "contentType": "application/octet-stream",
  "size": 1024,
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}
File: File

AI MCP Documentation

Add this tool to your MCP server configuration:

{
  "mcpServers": {
    "elysiatools-pdf-stationery-underlay": {
      "name": "pdf-stationery-underlay",
      "description": "Place document pages on top of stationery/background template pages (letterhead style underlay)",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=pdf-stationery-underlay",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.

Supports URL file links or Base64 encoding for file parameters.

If you encounter any issues, please contact us at [email protected]